Merge pull request #165004 from lopsided98/nix-perl-bindings-match-version

This commit is contained in:
Sandro
2022-03-27 12:01:02 +02:00
committed by GitHub
2 changed files with 6 additions and 8 deletions
+5 -4
View File
@@ -53,8 +53,8 @@ in
, confDir
, stateDir
, storeDir
}:
stdenv.mkDerivation {
}: let
self = stdenv.mkDerivation {
pname = "nix";
version = "${version}${suffix}";
@@ -209,6 +209,7 @@ stdenv.mkDerivation {
passthru = {
inherit aws-sdk-cpp boehmgc;
perl-bindings = perl.pkgs.toPerlModule (callPackage ./nix-perl.nix { inherit src version; });
perl-bindings = perl.pkgs.toPerlModule (callPackage ./nix-perl.nix { nix = self; });
};
}
};
in self
@@ -8,14 +8,11 @@
, autoreconfHook
, autoconf-archive
, nlohmann_json
, version
, src
}:
stdenv.mkDerivation {
pname = "nix-perl";
inherit version src;
inherit (nix) version src;
postUnpack = "sourceRoot=$sourceRoot/perl";