mirror of
https://github.com/NixOS/nix
synced 2025-06-29 14:53:16 +02:00
Add system argument
This commit is contained in:
parent
3567bdb514
commit
03ef6b69be
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ nixpkgs ? <nixpkgs> }:
|
{ nixpkgs ? <nixpkgs>, system ? builtins.currentSystem }:
|
||||||
|
|
||||||
with import nixpkgs { };
|
with import nixpkgs { inherit system; };
|
||||||
|
|
||||||
runCommand "nix-repl"
|
runCommand "nix-repl"
|
||||||
{ buildInputs = [ readline nixUnstable boehmgc ]; }
|
{ buildInputs = [ readline nixUnstable boehmgc ]; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue