mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2025-12-27 00:34:58 +08:00
temp
This commit is contained in:
parent
9554c9feb6
commit
8a02fd4244
1 changed files with 8 additions and 1 deletions
|
|
@ -26,12 +26,19 @@ $ git add flake.lock
|
|||
$ git commit -a -m temp
|
||||
////
|
||||
|
||||
[source,nix,linenums,highlight='37..39,42']
|
||||
[source,nix,linenums,highlight='21..34']
|
||||
.flake.nix
|
||||
....
|
||||
$# cat flake.nix
|
||||
....
|
||||
|
||||
We can build the flake to see how it modifies the script.
|
||||
|
||||
....
|
||||
$ nix build
|
||||
$ cat result/bin/hello-cow
|
||||
....
|
||||
|
||||
Here's the flake in action.
|
||||
|
||||
....
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue