mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
packaging: Pass version directly
This commit is contained in:
parent
efd5f50f5e
commit
0729f0a113
22 changed files with 25 additions and 60 deletions
|
@ -8,7 +8,7 @@
|
|||
, pkg-config
|
||||
, nix-store
|
||||
, darwin
|
||||
, versionSuffix ? ""
|
||||
, version
|
||||
, curl
|
||||
, bzip2
|
||||
, libsodium
|
||||
|
@ -20,7 +20,7 @@ in
|
|||
|
||||
perl.pkgs.toPerlModule (mkMesonDerivation (finalAttrs: {
|
||||
pname = "nix-perl";
|
||||
version = lib.fileContents ./.version + versionSuffix;
|
||||
inherit version;
|
||||
|
||||
workDir = ./.;
|
||||
fileset = fileset.unions ([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue