mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-01-07 22:37:23 +08:00
temp
This commit is contained in:
parent
54f9177bf1
commit
4c970ef24b
2 changed files with 2 additions and 3 deletions
|
|
@ -23,9 +23,9 @@ Here's a demonstration using the shell.
|
|||
....
|
||||
$ echo "FOO=${FOO}"
|
||||
$# ../../../../../start-shell nix develop <<EOL
|
||||
$ echo "FOO=$${FOO}"
|
||||
$ echo "FOO=${FOO}"
|
||||
$ env
|
||||
$ echo $$FOO
|
||||
$ echo $FOO
|
||||
$# EOL
|
||||
....
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
default = pkgs.mkShell {
|
||||
shellHook = ''
|
||||
export FOO="bar"
|
||||
env
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue