From 10a7f199372c4bca5d81030e8a39ca7537ea47ca Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 19 Sep 2018 12:48:08 -0400 Subject: nix-shell: explain the merging property close to the example --- doc/manual/command-ref/nix-shell.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/manual/command-ref/nix-shell.xml b/doc/manual/command-ref/nix-shell.xml index 5c44c4a8f..3f12dda04 100644 --- a/doc/manual/command-ref/nix-shell.xml +++ b/doc/manual/command-ref/nix-shell.xml @@ -317,13 +317,14 @@ while (my $token = $p->get_tag("a")) { -Finally, the following Haskell script uses a specific branch of -Nixpkgs/NixOS (the 14.12 stable branch): +Finally, using the merging of multiple nix-shell shebangs the +following Haskell script uses a specific branch of Nixpkgs/NixOS (the +18.03 stable branch): Date: Wed, 19 Sep 2018 13:01:27 -0400 Subject: nix-shell: document double quotes being necessary for a simple Nix expression in the shebang --- doc/manual/command-ref/nix-shell.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/manual/command-ref/nix-shell.xml b/doc/manual/command-ref/nix-shell.xml index 3f12dda04..cb443c888 100644 --- a/doc/manual/command-ref/nix-shell.xml +++ b/doc/manual/command-ref/nix-shell.xml @@ -317,6 +317,20 @@ while (my $token = $p->get_tag("a")) { +Sometimes you need to pass a simple Nix expression to customize +a package like Terraform: + + + +You must use double quotes (") when +passing a simple Nix expression in a nix-shell shebang. + + Finally, using the merging of multiple nix-shell shebangs the following Haskell script uses a specific branch of Nixpkgs/NixOS (the 18.03 stable branch): -- cgit v1.2.3