Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions buildGradleApplication/mkM2Repository.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
lib,
runCommandNoCC,
runCommand,
python3,
fetchArtifact,
}: {
Expand All @@ -19,7 +19,7 @@
depSpecs = builtins.filter dependencyFilter (
# Read all build and runtime dependencies from the verification-metadata XML
builtins.fromJSON (builtins.readFile (
runCommandNoCC "depSpecs" {buildInputs = [python3];}
runCommand "depSpecs" {buildInputs = [python3];}
"python ${./parse.py} ${filteredSrc}/${verificationFile} ${builtins.toString (builtins.map lib.escapeShellArg repositories)}> $out"
))
);
Expand All @@ -33,7 +33,7 @@

# write a dedicated script for the m2 repository creation. Otherwise, the m2Repository derivation might crash with 'Argument list too long'
m2Repository =
runCommandNoCC "${pname}-${version}-m2-repository"
runCommand "${pname}-${version}-m2-repository"
{src = filteredSrc;}
(
"mkdir $out"
Expand Down