mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 14:53:52 +00:00
lix: move lix-doc
as a formal parameter
This way, it's easier to override it or pass it ourselves if needed. Useful for test instrumentation from external scripts. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
d713628683
commit
edab8892ee
@ -65,6 +65,11 @@ assert (hash == null) -> (src != null);
|
||||
util-linuxMinimal,
|
||||
xz,
|
||||
nixosTests,
|
||||
lix-doc ? callPackage ./doc {
|
||||
inherit src;
|
||||
version = "${version}${suffix}";
|
||||
cargoHash = docCargoHash;
|
||||
},
|
||||
|
||||
enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform,
|
||||
enableStatic ? stdenv.hostPlatform.isStatic,
|
||||
@ -79,11 +84,6 @@ assert (hash == null) -> (src != null);
|
||||
storeDir,
|
||||
}:
|
||||
let
|
||||
lix-doc = callPackage ./doc {
|
||||
inherit src;
|
||||
version = "${version}${suffix}";
|
||||
cargoHash = docCargoHash;
|
||||
};
|
||||
self = stdenv.mkDerivation {
|
||||
pname = "lix";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user