Simplify nix integration a bit

This commit is contained in:
2020-11-07 13:03:39 +01:00
parent 21e4b12672
commit c5e7a7b60c
2 changed files with 6 additions and 5 deletions

View File

@@ -1,5 +0,0 @@
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "a-robots-conundrum";
buildInputs = [ (python27.withPackages (ps: with ps; [ pygame numpy ])) ];
}

6
shell.nix Normal file
View File

@@ -0,0 +1,6 @@
# Use this file with nix-shell or similar tools; see https://nixos.org/
with import <nixpkgs> {};
mkShell {
buildInputs = [ (python27.withPackages (ps: with ps; [ pygame numpy ])) ];
}