mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-01-24 23:47:12 +08:00
temp
This commit is contained in:
parent
8bdbf9cd62
commit
9c1c615cb6
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
$ mkdir tempwork
|
||||
$ cd tempwork
|
||||
$ cp ../flake.nix Main.hs .
|
||||
$ git add flake.nix Main.hs
|
||||
$ git add flake.nix
|
||||
$ nix develop
|
||||
$ git add flake.lock
|
||||
$ git commit -a -m temp
|
||||
|
|
@ -32,6 +32,7 @@ include::Main.hs[]
|
|||
Here's a demonstration using the program.
|
||||
|
||||
....
|
||||
$ ls -lf
|
||||
$# ../../../../../start-shell nix develop <<EOL
|
||||
$ runghc Main.hs
|
||||
$# EOL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue