mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2025-12-26 16:24:56 +08:00
temp
This commit is contained in:
parent
7b3927641c
commit
6c031b413a
3 changed files with 3 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ $# cat flake.nix
|
|||
|
||||
If this is your first time seeing a flake definition, it probably looks
|
||||
intimidating.
|
||||
Flakes are written in the Nix language, introduced in <<_the_nix_language_>>.
|
||||
Flakes are written in the Nix language, introduced in <<_the_nix_language>>.
|
||||
However, you don't really need to know Nix to follow this example.
|
||||
For now, I'd like to focus on the inputs section.
|
||||
|
||||
|
|
|
|||
|
|
@ -164,6 +164,7 @@ so our hello-flake script wouldn’t be able to find it.
|
|||
There are various ways to deal with this problem.
|
||||
In this case we simply edited the script (lines 37-39) as we install it,
|
||||
specifying the full path to cowsay.
|
||||
We'll see another way of handling this in <<writeShellApplication>>.
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
[#writeShellApplication]
|
||||
= Access a top level package from the Nixpkgs/NixOS repo
|
||||
|
||||
In <<_introducing_a_dependency>>, we wrote a shell script that needed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue