linux-4.13: mark as insecure (+required generic changes)

extraMeta was being fed as passthru without being processed by stdenv,
so without those changes, adding the security attribute would be useless.
This commit is contained in:
Vladimír Čunát
2017-12-04 09:33:39 +01:00
parent 561de381bc
commit 13797ff522
3 changed files with 11 additions and 6 deletions
@@ -39,6 +39,8 @@ in {
config ? stdenv.lib.optionalAttrs allowImportFromDerivation (readConfig configfile),
# Cross-compiling config
crossConfig ? if allowImportFromDerivation then (readConfig crossConfigfile) else config,
# Use defaultMeta // extraMeta
extraMeta ? {},
# Whether to utilize the controversial import-from-derivation feature to parse the config
allowImportFromDerivation ? false
}:
@@ -228,7 +230,7 @@ let
maintainers.thoughtpolice
];
platforms = platforms.linux;
};
} // extraMeta;
};
in