mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-02 14:55:25 +03:00
fix: dream-lock.json example & impure translator template
This commit is contained in:
parent
adaae3473f
commit
67a96dc5cb
@ -1,11 +1,12 @@
|
||||
{
|
||||
"_generic": {
|
||||
"subsystem": "python",
|
||||
"defaultPackage": "requests",
|
||||
"translatorArgs": "",
|
||||
"location": "",
|
||||
"packages": {
|
||||
"requests": "1.2.3"
|
||||
}
|
||||
},
|
||||
"subsystem": "python",
|
||||
"sourcesAggregatedHash": null
|
||||
},
|
||||
|
||||
"_subsystem": {
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user