Add nix build config
This commit is contained in:
parent
3dd4909827
commit
e8323bd981
|
@ -161,3 +161,6 @@ cython_debug/
|
|||
|
||||
# nixos-shell
|
||||
nixos.qcow2
|
||||
|
||||
# nix-build
|
||||
result
|
|
@ -0,0 +1,10 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
let
|
||||
pypkgs = pkgs.python38Packages;
|
||||
in pypkgs.buildPythonPackage {
|
||||
name = "intake";
|
||||
src = builtins.path { path = ./.; name = "intake"; };
|
||||
format = "pyproject";
|
||||
propagatedBuildInputs = with pypkgs; [ setuptools ];
|
||||
}
|
Loading…
Reference in New Issue