1
0
Fork 0
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:
Robert Hensing 2024-07-06 17:36:31 +02:00
parent efd5f50f5e
commit 0729f0a113
22 changed files with 25 additions and 60 deletions

View file

@ -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 ([