generated from stubbfel/nix-project-template
Initial commit
This commit is contained in:
26
README.md
Normal file
26
README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# <project-name>
|
||||
|
||||
## Nix Flake commands
|
||||
|
||||
```sh
|
||||
# nix flake are experimental and required following options --experimental-features 'nix-command flakes'
|
||||
# create alias for nix --experimental-features 'nix-command flakes'
|
||||
|
||||
alias nixe && echo Alias for nixe exists || alias nixe="nix --experimental-features 'nix-command flakes'"
|
||||
|
||||
# build
|
||||
nixe build
|
||||
|
||||
# run
|
||||
nixe run
|
||||
|
||||
# open development shell
|
||||
nixe develop
|
||||
|
||||
# update flake.lock
|
||||
nixe run .#devTasks.updateFlakeLock
|
||||
|
||||
# tag project
|
||||
nixe run .#devTasks.autoTag
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user