Fix laminar build
This commit is contained in:
parent
fd08a02f52
commit
6cdd3cfee9
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ let
|
||||||
export FLAGS='--builders @/etc/nix/machines --max-jobs 0'
|
export FLAGS='--builders @/etc/nix/machines --max-jobs 0'
|
||||||
if [[ -e "flake.nix" ]]; then
|
if [[ -e "flake.nix" ]]; then
|
||||||
echo "Flake detected. Using flake.nix"
|
echo "Flake detected. Using flake.nix"
|
||||||
drv=$(${pkgs.nixFlakes}/bin/flaky-nix eval --raw .#defaultPackage.x86_64-linux.drvPath)
|
drv=$(${pkgs.nixFlakes}/bin/flix eval --raw .#defaultPackage.x86_64-linux.drvPath)
|
||||||
else
|
else
|
||||||
nix-instantiate --add-root ./drv --indirect $FLAGS
|
nix-instantiate --add-root ./drv --indirect $FLAGS
|
||||||
drv=$(readlink -f ./drv)
|
drv=$(readlink -f ./drv)
|
||||||
|
|
Loading…
Reference in a new issue