Browse Source

Simplify nix integration a bit

master
Niels G. W. Serup 6 months ago
parent
commit
c5e7a7b60c
Signed by: ngws GPG Key ID: 38EEEBCE67324F19
  1. 5
      default.nix
  2. 6
      shell.nix

5
default.nix

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

6
shell.nix

@ -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 ])) ];
}
Loading…
Cancel
Save