Merge pull request #43042 from grahamc/fix-release
Revert "pkgs/top-level/release.nix.nix: Use fetchGit if possible"
This commit is contained in:
commit
d21baa5a73
@ -8,11 +8,7 @@
|
|||||||
|
|
||||||
$ nix-build pkgs/top-level/release.nix -A coreutils.x86_64-linux
|
$ nix-build pkgs/top-level/release.nix -A coreutils.x86_64-linux
|
||||||
*/
|
*/
|
||||||
{ nixpkgs ?
|
{ nixpkgs ? { outPath = (import ../../lib).cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
|
||||||
if builtins.pathExists ../../.git then
|
|
||||||
fetchGit ../..
|
|
||||||
else
|
|
||||||
{ outPath = (import ../../lib).cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
|
|
||||||
, officialRelease ? false
|
, officialRelease ? false
|
||||||
# The platforms for which we build Nixpkgs.
|
# The platforms for which we build Nixpkgs.
|
||||||
, supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ]
|
, supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user