nix: add default.nix (to compile with nix-shell)
This commit is contained in:
parent
e2e4ed8f93
commit
c8146c4273
|
@ -0,0 +1,16 @@
|
||||||
|
with import <nixpkgs> {}; {
|
||||||
|
Roofus = stdenv.mkDerivation {
|
||||||
|
name = "Roofus";
|
||||||
|
buildInputs = [
|
||||||
|
ncurses
|
||||||
|
gcc
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
shellHook = ''
|
||||||
|
unset http_proxy
|
||||||
|
export LD_LIBRARY_PATH=${ncurses}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue