diff --git a/pkgs/development/compilers/asl/default.nix b/pkgs/development/compilers/asl/default.nix index 981dde1e7a7..b02847b0593 100644 --- a/pkgs/development/compilers/asl/default.nix +++ b/pkgs/development/compilers/asl/default.nix @@ -1,7 +1,7 @@ { lib , stdenv , fetchzip -, buildDocs? false, tex +, buildDocs ? false, tex }: stdenv.mkDerivation rec { @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { hash = "sha256-Sbm16JX7kC/7Ws7YgNBUXNqOCl6u+RXgfNjTODhCzSM="; }; - nativeBuildInputs = lib.optional buildDocs [ tex ]; + nativeBuildInputs = lib.optionals buildDocs [ tex ]; postPatch = lib.optionalString (!buildDocs) '' substituteInPlace Makefile --replace "all: binaries docs" "all: binaries" @@ -32,10 +32,6 @@ stdenv.mkDerivation rec { mkdir -p .objdir ''; - hardenedDisable = [ "all" ]; - - # buildTargets = [ "binaries" "docs" ]; - meta = with lib; { homepage = "http://john.ccac.rwth-aachen.de:8000/as/index.html"; description = "Portable macro cross assembler";