mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 08:25:55 +03:00
callCabal2nix: Passthru deriver
This commit is contained in:
parent
dae9cf6106
commit
08b766921d
@ -159,6 +159,13 @@ let
|
||||
# Generated from ${src}
|
||||
${orig.preConfigure or ""}
|
||||
'';
|
||||
passthru = orig.passthru or {} // {
|
||||
# When using callCabal2nix or callHackage, it is often useful
|
||||
# to debug a failure by inspecting the Nix expression
|
||||
# generated by cabal2nix. This can be accessed via this
|
||||
# cabal2nixDeriver field.
|
||||
cabal2nixDeriver = src;
|
||||
};
|
||||
});
|
||||
|
||||
in package-set { inherit pkgs stdenv callPackage; } self // {
|
||||
|
Loading…
Reference in New Issue
Block a user