Files
nix-files/scripts/check-nur
Colin b21ae11b04 NUR: fix eval
locally, at least: hopefully this fixes the CI jobs as well
2024-10-21 22:16:55 +00:00

16 lines
486 B
Bash
Executable File

#!/bin/sh
NIX_FILES_TOP=/home/colin/nixos
nixpkgs=$(nix-store --realize $(nix-instantiate -A nixpkgs-bootstrap.master.src))
cd $NIX_FILES_TOP/integrations/nur
NIX_PATH= NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix-env -f . -qa \* --meta --xml \
--allowed-uris https://static.rust-lang.org \
--option restrict-eval true \
--option allow-import-from-derivation true \
--drv-path --show-trace \
-I nixpkgs=$nixpkgs \
-I ../../ \
"$@" \
| tee # tee to prevent interactive mode