about summary refs log tree commit diff
path: root/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-09-09T12·03+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-09-09T12·03+0200
commita5dffb3d3dcfff3b1d6c166451268ebb1cbde991 (patch)
treec210b879a000e82beeb3d74528e9e1bb01d68414 /default.nix
parent3c67df928f8d311d7dfd565e8c3a16db9d6a0278 (diff)
Temporary hack to parameterize nixpkgs
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index eae1d56d0a78..97162c6e8b8e 100644
--- a/default.nix
+++ b/default.nix
@@ -1,4 +1,6 @@
-with import <nixpkgs> { };
+{ nixpkgs ? <nixpkgs> }:
+
+with import nixpkgs { };
 
 runCommand "nix-repl"
   { buildInputs = [ readline nixUnstable boehmgc ]; }