mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Slap on perl-bindings
in the caller
The Perl bindings are not part of Nix, but a downstream package, so they don't belong in `package.nix`. They don't really belong as an attribute on `nix` either, but we can just leave that interface as is for now.
This commit is contained in:
parent
a5a45e64e1
commit
7e2b1cce6a
2 changed files with 9 additions and 7 deletions
|
@ -197,7 +197,16 @@
|
|||
libgit2 = final.libgit2-nix;
|
||||
lowdown = final.lowdown-nix;
|
||||
busybox-sandbox-shell = final.busybox-sandbox-shell or final.default-busybox-sandbox-shell;
|
||||
} // {
|
||||
# this is a proper separate downstream package, but put
|
||||
# here also for back compat reasons.
|
||||
perl-bindings = final.nix-perl-bindings;
|
||||
};
|
||||
|
||||
nix-perl-bindings = final.callPackage ./perl {
|
||||
inherit fileset stdenv;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
in {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ lib
|
||||
, callPackage
|
||||
, stdenv
|
||||
, releaseTools
|
||||
, autoconf-archive
|
||||
|
@ -353,12 +352,6 @@ in {
|
|||
|
||||
hardeningDisable = lib.optional stdenv.hostPlatform.isStatic "pie";
|
||||
|
||||
passthru = {
|
||||
perl-bindings = callPackage ./perl {
|
||||
inherit fileset stdenv;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "nix";
|
||||
|
|
Loading…
Reference in a new issue