diff options
author | Joachim F <joachifm@users.noreply.github.com> | 2019-04-20 08:30:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-20 08:30:18 +0000 |
commit | 9241145dfe396c6ded8887e4c9965e008ea64170 (patch) | |
tree | 02cdd4d827387d256f01be878748292e41edec6a /pkgs | |
parent | 28e2f5a7c3a91f28548b2f32050b010f6b67eb3d (diff) | |
parent | cfc4a7c03bae7b3c33520ca34d73eb0fb622ae6c (diff) | |
download | nixpkgs-9241145dfe396c6ded8887e4c9965e008ea64170.tar nixpkgs-9241145dfe396c6ded8887e4c9965e008ea64170.tar.gz nixpkgs-9241145dfe396c6ded8887e4c9965e008ea64170.tar.bz2 nixpkgs-9241145dfe396c6ded8887e4c9965e008ea64170.tar.lz nixpkgs-9241145dfe396c6ded8887e4c9965e008ea64170.tar.xz nixpkgs-9241145dfe396c6ded8887e4c9965e008ea64170.tar.zst nixpkgs-9241145dfe396c6ded8887e4c9965e008ea64170.zip |
Merge pull request #59896 from rnhmjoj/rxvt
rxvt_unicode: allow to specify dependencies for plugins
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/rxvt_unicode/wrapper.nix | 4 | ||||
-rw-r--r-- | pkgs/top-level/perl-packages.nix | 14 |
2 files changed, 17 insertions, 1 deletions
diff --git a/pkgs/applications/misc/rxvt_unicode/wrapper.nix b/pkgs/applications/misc/rxvt_unicode/wrapper.nix index 909c267def8..a7b25e112a9 100644 --- a/pkgs/applications/misc/rxvt_unicode/wrapper.nix +++ b/pkgs/applications/misc/rxvt_unicode/wrapper.nix @@ -1,4 +1,4 @@ -{ symlinkJoin, rxvt_unicode, makeWrapper, plugins }: +{ symlinkJoin, rxvt_unicode, makeWrapper, plugins, perlPackages, perlDeps ? []}: let rxvt_name = builtins.parseDrvName rxvt_unicode.name; @@ -12,8 +12,10 @@ in symlinkJoin { postBuild = '' wrapProgram $out/bin/urxvt \ + --set PERL5LIB : "${perlPackages.makePerlPath perlDeps}" \ --suffix-each URXVT_PERL_LIB ':' "$out/lib/urxvt/perl" wrapProgram $out/bin/urxvtd \ + --set PERL5LIB : "${perlPackages.makePerlPath perlDeps}" \ --suffix-each URXVT_PERL_LIB ':' "$out/lib/urxvt/perl" ''; diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 5124a230598..098b2652bf6 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -8480,6 +8480,20 @@ let }; }; + LinuxFD = buildPerlModule rec { + name = "Linux-FD-0.011"; + src = fetchurl { + url = "mirror://cpan/authors/id/L/LE/LEONT/${name}.tar.gz"; + sha256 = "6bb579d47644cb0ed35626ff77e909ae69063073c6ac09aa0614fef00fa37356"; + }; + buildInputs = [ ModuleBuild TestException ]; + propagatedBuildInputs = [ SubExporter ]; + meta = { + description = "Linux specific special filehandles"; + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + LinuxInotify2 = buildPerlPackage rec { name = "Linux-Inotify2-2.1"; src = fetchurl { |