Browse Source

Simplify nix integration a bit

master
Niels G. W. Serup 3 months ago
parent
commit
c5e7a7b60c
Signed by: ngws GPG Key ID: 38EEEBCE67324F19
2 changed files with 6 additions and 5 deletions
  1. +0
    -5
      default.nix
  2. +6
    -0
      shell.nix

+ 0
- 5
default.nix View File

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

+ 6
- 0
shell.nix 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 ])) ];
}

Loading…
Cancel
Save