ci/eval: don't allow IFD
This commit is contained in:
parent
b9816a9ba6
commit
5978e7fa2f
@ -50,8 +50,12 @@ let
|
|||||||
export GC_INITIAL_HEAP_SIZE=4g
|
export GC_INITIAL_HEAP_SIZE=4g
|
||||||
command time -v \
|
command time -v \
|
||||||
nix-instantiate --eval --strict --json --show-trace \
|
nix-instantiate --eval --strict --json --show-trace \
|
||||||
$src/pkgs/top-level/release-attrpaths-superset.nix -A paths \
|
"$src/pkgs/top-level/release-attrpaths-superset.nix" \
|
||||||
--arg enableWarnings false > $out/paths.json
|
-A paths \
|
||||||
|
-I "$src" \
|
||||||
|
--option restrict-eval true \
|
||||||
|
--option allow-import-from-derivation false \
|
||||||
|
--arg enableWarnings false > $out/paths.json
|
||||||
mv "$supportedSystemsPath" $out/systems.json
|
mv "$supportedSystemsPath" $out/systems.json
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -84,6 +88,8 @@ let
|
|||||||
set +e
|
set +e
|
||||||
command time -f "Chunk $myChunk on $system done [%MKB max resident, %Es elapsed] %C" \
|
command time -f "Chunk $myChunk on $system done [%MKB max resident, %Es elapsed] %C" \
|
||||||
nix-env -f "${nixpkgs}/pkgs/top-level/release-attrpaths-parallel.nix" \
|
nix-env -f "${nixpkgs}/pkgs/top-level/release-attrpaths-parallel.nix" \
|
||||||
|
--option restrict-eval true \
|
||||||
|
--option allow-import-from-derivation false \
|
||||||
--query --available \
|
--query --available \
|
||||||
--no-name --attr-path --out-path \
|
--no-name --attr-path --out-path \
|
||||||
--show-trace \
|
--show-trace \
|
||||||
@ -93,6 +99,8 @@ let
|
|||||||
--arg systems "[ \"$system\" ]" \
|
--arg systems "[ \"$system\" ]" \
|
||||||
--arg checkMeta ${lib.boolToString checkMeta} \
|
--arg checkMeta ${lib.boolToString checkMeta} \
|
||||||
--arg includeBroken ${lib.boolToString includeBroken} \
|
--arg includeBroken ${lib.boolToString includeBroken} \
|
||||||
|
-I ${nixpkgs} \
|
||||||
|
-I ${attrpathFile} \
|
||||||
> "$outputDir/result/$myChunk"
|
> "$outputDir/result/$myChunk"
|
||||||
exitCode=$?
|
exitCode=$?
|
||||||
set -e
|
set -e
|
||||||
|
Loading…
Reference in New Issue
Block a user