about summary refs log tree commit diff
path: root/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-09-09T13·17+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-09-09T13·17+0200
commit03ef6b69be4711309fa04fa32681e03fde3d234f (patch)
tree4c8b8fb34d5da67d0d9aad8bc20344b0839f61fd /default.nix
parent3567bdb514e6ba4e460b76dc1d1b1dd466214286 (diff)
Add system argument
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/default.nix b/default.nix
index 97162c6e8b8e..4c9cbcc0cb44 100644
--- a/default.nix
+++ b/default.nix
@@ -1,6 +1,6 @@
-{ nixpkgs ? <nixpkgs> }:
+{ nixpkgs ? <nixpkgs>, system ? builtins.currentSystem }:
 
-with import nixpkgs { };
+with import nixpkgs { inherit system; };
 
 runCommand "nix-repl"
   { buildInputs = [ readline nixUnstable boehmgc ]; }