sane-clone: note that fetchFromGitLab doesnt pass attrs through in quite the same way
This commit is contained in:
parent
78bf5caf00
commit
a94c460a95
|
@ -6,6 +6,8 @@
|
||||||
srcattr="$1.src"
|
srcattr="$1.src"
|
||||||
basedir=/home/colin/ref/repos
|
basedir=/home/colin/ref/repos
|
||||||
|
|
||||||
|
# fetchFromGitHub: provides src.{gitRepoUrl,owner,repo}
|
||||||
|
# fetchFromGitLab: provides src.gitRepoUrl only
|
||||||
repourl="$(nix eval nixpkgs#$srcattr.gitRepoUrl | jq --raw-output)"
|
repourl="$(nix eval nixpkgs#$srcattr.gitRepoUrl | jq --raw-output)"
|
||||||
repoowner="$(nix eval nixpkgs#$srcattr.owner | jq --raw-output)"
|
repoowner="$(nix eval nixpkgs#$srcattr.owner | jq --raw-output)"
|
||||||
reponame="$(nix eval nixpkgs#$srcattr.repo | jq --raw-output)"
|
reponame="$(nix eval nixpkgs#$srcattr.repo | jq --raw-output)"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user