From c8146c4273871808f524cb758f94831246840e91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Balzarotti?= Date: Mon, 26 Dec 2016 15:05:26 +0100 Subject: [PATCH] nix: add default.nix (to compile with nix-shell) --- default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 default.nix diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..ba169ec --- /dev/null +++ b/default.nix @@ -0,0 +1,16 @@ +with import {}; { + Roofus = stdenv.mkDerivation { + name = "Roofus"; + buildInputs = [ + ncurses + gcc + ]; + + + shellHook = '' + unset http_proxy + export LD_LIBRARY_PATH=${ncurses} + ''; + }; +} +