mirror of
https://github.com/NixOS/nix.git
synced 2025-04-16 14:19:21 +00:00
format
This commit is contained in:
parent
3060f7b6d5
commit
20127a37f5
@ -1,7 +1,9 @@
|
||||
args:
|
||||
let pkgs = import ../shell.nix args; in
|
||||
let
|
||||
pkgs = import ../shell.nix args;
|
||||
in
|
||||
{
|
||||
bashInteractive = pkgs.runCommand "bash" {} ''
|
||||
bashInteractive = pkgs.runCommand "bash" { } ''
|
||||
mkdir -p $out/bin
|
||||
echo "echo 2" > $out/bin/bash
|
||||
chmod +x $out/bin/bash
|
||||
|
@ -88,7 +88,7 @@ let
|
||||
name = "shellDrvFakeBash4";
|
||||
builder = "/does/not/exist";
|
||||
inherit stdenv;
|
||||
PATH="${fakeBash4}/bin:${path}";
|
||||
PATH = "${fakeBash4}/bin:${path}";
|
||||
};
|
||||
|
||||
# Used by nix-shell -p
|
||||
@ -127,7 +127,7 @@ let
|
||||
chmod a+rx $out/bin/ruby
|
||||
'';
|
||||
|
||||
fakeBash4 = runCommand "fakeBash4" {} ''
|
||||
fakeBash4 = runCommand "fakeBash4" { } ''
|
||||
mkdir -p $out/bin
|
||||
echo 'echo 4' > $out/bin/bash
|
||||
chmod a+rx $out/bin/bash
|
||||
|
Loading…
Reference in New Issue
Block a user