mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
Coarse versions for constituent packages
As discussed in our meeting, we should use a simplified version for the libraries without the date or commit hash. This will make rebuilding a lot faster in many cases. Progress on #10379 Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
This commit is contained in:
parent
4956e7c44c
commit
93f58150c9
5 changed files with 47 additions and 22 deletions
|
@ -47,7 +47,8 @@
|
|||
|
||||
, pname ? "nix"
|
||||
|
||||
, versionSuffix ? ""
|
||||
, version
|
||||
, versionSuffix
|
||||
|
||||
# Whether to build Nix. Useful to skip for tasks like testing existing pre-built versions of Nix
|
||||
, doBuild ? true
|
||||
|
@ -112,8 +113,6 @@
|
|||
let
|
||||
inherit (lib) fileset;
|
||||
|
||||
version = lib.fileContents ./.version + versionSuffix;
|
||||
|
||||
# selected attributes with defaults, will be used to define some
|
||||
# things which should instead be gotten via `finalAttrs` in order to
|
||||
# work with overriding.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue