mirror of
https://github.com/NixOS/nix
synced 2025-07-08 15:13:55 +02:00
More interesting dynamic derivations example
Co-authored-by: Samuel Ainsworth <skainsworth@gmail.com>
This commit is contained in:
parent
07f853b295
commit
222a57c9ca
3 changed files with 94 additions and 0 deletions
16
tests/functional/dyn-drv/dep-built-drv-2.sh
Normal file
16
tests/functional/dyn-drv/dep-built-drv-2.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
source common.sh
|
||||
|
||||
# Store layer needs bugfix
|
||||
requireDaemonNewerThan "2.27pre20250205"
|
||||
|
||||
TODO_NixOS # can't enable a sandbox feature easily
|
||||
|
||||
enableFeatures 'recursive-nix'
|
||||
restartDaemon
|
||||
|
||||
NIX_BIN_DIR="$(dirname "$(type -p nix)")"
|
||||
export NIX_BIN_DIR
|
||||
|
||||
nix build -L --file ./non-trivial.nix
|
Loading…
Add table
Add a link
Reference in a new issue