mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
mawk: fix passthru.tests, relax hardening options (#543160)
This commit is contained in:
@@ -21,10 +21,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
hardeningDisable = [
|
||||
"strictflexarrays1"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
command = "mawk -W version";
|
||||
version = lib.replaceString "-" " " finalAttrs.version;
|
||||
};
|
||||
updateScript = directoryListingUpdater {
|
||||
inherit (finalAttrs) pname version;
|
||||
|
||||
Reference in New Issue
Block a user