diff --git a/src/specifications/dream-lock-example.json b/src/specifications/dream-lock-example.json index 8168e146..85d34e80 100644 --- a/src/specifications/dream-lock-example.json +++ b/src/specifications/dream-lock-example.json @@ -1,11 +1,12 @@ { "_generic": { - "subsystem": "python", "defaultPackage": "requests", - "translatorArgs": "", + "location": "", "packages": { "requests": "1.2.3" - } + }, + "subsystem": "python", + "sourcesAggregatedHash": null }, "_subsystem": { diff --git a/src/templates/translators/impure.nix b/src/templates/translators/impure.nix index baf7dbd7..e716b92b 100644 --- a/src/templates/translators/impure.nix +++ b/src/templates/translators/impure.nix @@ -4,6 +4,8 @@ ... }: { + l = lib // builtins; + type = "impure"; /* @@ -59,8 +61,8 @@ jsonInput=$1 # read the json input - outputFile=$(${jq}/bin/jq '.outputFile' -c -r $jsonInput) - source=$(${jq}/bin/jq '.source' -c -r $jsonInput) + outputFile=$WORKDIR/$(jq '.outputFile' -c -r $jsonInput) + source=$(jq '.source' -c -r $jsonInput) relPath=$(jq '.project.relPath' -c -r $jsonInput) # TODO: