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:
parent
d40c59ed19
commit
85de5a60c7
13 changed files with 26 additions and 42 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue