3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #43042 from grahamc/fix-release

Revert "pkgs/top-level/release.nix.nix: Use fetchGit if possible"
This commit is contained in:
Graham Christensen 2018-07-04 16:18:38 -04:00 committed by GitHub
commit d21baa5a73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,11 +8,7 @@
$ nix-build pkgs/top-level/release.nix -A coreutils.x86_64-linux
*/
{ nixpkgs ?
if builtins.pathExists ../../.git then
fetchGit ../..
else
{ outPath = (import ../../lib).cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
{ nixpkgs ? { outPath = (import ../../lib).cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
, officialRelease ? false
# The platforms for which we build Nixpkgs.
, supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ]