1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 04:21:16 +02:00

Use lib instead of explicit fileset passing

This commit is contained in:
Robert Hensing 2024-06-26 03:18:01 +02:00
parent d40c59ed19
commit 85de5a60c7
13 changed files with 26 additions and 42 deletions

View file

@ -1,5 +1,4 @@
{ lib
, fileset
, stdenv
, perl
, perlPackages
@ -16,6 +15,10 @@
, versionSuffix ? ""
}:
let
inherit (lib) fileset;
in
perl.pkgs.toPerlModule (stdenv.mkDerivation (finalAttrs: {
pname = "nix-perl";
version = lib.fileContents ./.version + versionSuffix;