diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2018-01-10 19:45:40 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2018-01-10 19:45:40 +0100 |
| commit | ada37dc2b3ffe96e2d1cc9be79a2b1fc04684b11 (patch) | |
| tree | e2f0a571da89b102655000065ba1a89afe7facf2 /modules/examples | |
| parent | c2a0025f7ad3e13f00a374e33b54b2541eeb9c79 (diff) | |
lnl: add pr-darwin alias
Diffstat (limited to 'modules/examples')
| -rw-r--r-- | modules/examples/lnl.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index b85f717..6a2d378 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -226,6 +226,10 @@ nix log "$(curl -f -H 'Content-Type: application/json' "$build/api/get-info" | jq -r .drvPath)" } + pr-darwin() { + echo "https://github.com/LnL7/nix-darwin/archive/$(curl "https://api.github.com/repos/LnL7/nix-darwin/pulls/$@/commits" | jq -r '.[-1].sha').tar.gz" + } + pr-nixpkgs() { echo "https://github.com/NixOS/nixpkgs/archive/$(curl "https://api.github.com/repos/NixOS/nixpkgs/pulls/$@/commits" | jq -r '.[-1].sha').tar.gz" } |
