The derivation primop doesn't play well with null outputs attribute
This commit is contained in:
parent
afc1f7ca15
commit
0f72effdd9
@ -38,7 +38,7 @@ in {
|
|||||||
|
|
||||||
let
|
let
|
||||||
inherit (stdenv.lib)
|
inherit (stdenv.lib)
|
||||||
hasAttr getAttr optional optionalString maintainers platforms;
|
hasAttr getAttr optional optionalString optionalAttrs maintainers platforms;
|
||||||
|
|
||||||
installkernel = writeTextFile { name = "installkernel"; executable=true; text = ''
|
installkernel = writeTextFile { name = "installkernel"; executable=true; text = ''
|
||||||
#!${stdenv.shell} -e
|
#!${stdenv.shell} -e
|
||||||
@ -73,9 +73,7 @@ let
|
|||||||
|
|
||||||
installsFirmware = (config.isEnabled "FW_LOADER") &&
|
installsFirmware = (config.isEnabled "FW_LOADER") &&
|
||||||
(isModular || (config.isDisabled "FIRMWARE_IN_KERNEL"));
|
(isModular || (config.isDisabled "FIRMWARE_IN_KERNEL"));
|
||||||
in {
|
in (optionalAttrs isModular { outputs = [ "out" "dev" ]; }) // {
|
||||||
outputs = if isModular then [ "out" "dev" ] else null;
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
inherit version modDirVersion config kernelPatches;
|
inherit version modDirVersion config kernelPatches;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user