diff options
| -rw-r--r-- | default.nix | 7 | ||||
| -rw-r--r-- | shell.nix | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/default.nix b/default.nix index 4f10756..8a2586e 100644 --- a/default.nix +++ b/default.nix @@ -21,7 +21,8 @@ let python' = python3.withPackages my-python-packages; -in stdenv.mkDerivation { - name = "trseubgti"; - buildInputs = [ python' ag nixfmt ]; +in { }: +stdenv.mkDerivation { + name = "swap"; + buildInputs = [ python' ]; } diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..3a6b76a --- /dev/null +++ b/shell.nix @@ -0,0 +1,4 @@ +with import <nixpkgs> { }; + +(callPackage ./default.nix { }).overrideAttrs +(old: { nativeBuildInputs = [ ag nixfmt pandoc jq ]; }) |
