nix: add default.nix (to compile with nix-shell)

pull/3/head
Nicolò Balzarotti 2016-12-26 15:05:26 +01:00 committed by Racoonicorn
parent e2e4ed8f93
commit c8146c4273
1 changed files with 16 additions and 0 deletions

16
default.nix Normal file
View File

@ -0,0 +1,16 @@
with import <nixpkgs> {}; {
Roofus = stdenv.mkDerivation {
name = "Roofus";
buildInputs = [
ncurses
gcc
];
shellHook = ''
unset http_proxy
export LD_LIBRARY_PATH=${ncurses}
'';
};
}