mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
Pluggable fetchers
Flakes are now fetched using an extensible mechanism. Also lots of other flake cleanups.
This commit is contained in:
parent
1bf9eb21b7
commit
9f4d8c6170
34 changed files with 1613 additions and 1298 deletions
|
@ -213,7 +213,8 @@
|
|||
name = "nix-tarball";
|
||||
version = builtins.readFile ./.version;
|
||||
versionSuffix = if officialRelease then "" else
|
||||
"pre${builtins.substring 0 8 self.lastModified}_${self.shortRev}";
|
||||
"pre${builtins.substring 0 8 self.lastModified}" +
|
||||
(if self ? shortRev then "_${self.shortRev}" else "");
|
||||
src = self;
|
||||
inherit officialRelease;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue