mirror of
https://github.com/NixOS/nix.git
synced 2025-02-17 17:32:31 +00:00
parent
e65e9114d2
commit
c1811c1eba
@ -58,7 +58,7 @@ let
|
|||||||
mkdir -p $out/{commits,tarball}
|
mkdir -p $out/{commits,tarball}
|
||||||
|
|
||||||
# Setup https://docs.github.com/en/rest/commits/commits#get-a-commit
|
# Setup https://docs.github.com/en/rest/commits/commits#get-a-commit
|
||||||
echo '{"sha": "${private-flake-rev}"}' > $out/commits/HEAD
|
echo '{"sha": "${private-flake-rev}", "commit": {"tree": {"sha": "ffffffffffffffffffffffffffffffffffffffff"}}}' > $out/commits/HEAD
|
||||||
|
|
||||||
# Setup tarball download via API
|
# Setup tarball download via API
|
||||||
dir=private-flake
|
dir=private-flake
|
||||||
@ -72,7 +72,7 @@ let
|
|||||||
mkdir -p $out/commits
|
mkdir -p $out/commits
|
||||||
|
|
||||||
# Setup https://docs.github.com/en/rest/commits/commits#get-a-commit
|
# Setup https://docs.github.com/en/rest/commits/commits#get-a-commit
|
||||||
echo '{"sha": "${nixpkgs.rev}"}' > $out/commits/HEAD
|
echo '{"sha": "${nixpkgs.rev}", "commit": {"tree": {"sha": "ffffffffffffffffffffffffffffffffffffffff"}}}' > $out/commits/HEAD
|
||||||
'';
|
'';
|
||||||
|
|
||||||
archive = pkgs.runCommand "nixpkgs-flake" {}
|
archive = pkgs.runCommand "nixpkgs-flake" {}
|
||||||
|
Loading…
Reference in New Issue
Block a user