about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 ]; }