From c70a27d607ed4927c47e39de2801e6ed3a2c5f7c Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Wed, 3 Nov 2021 13:33:56 -0300 Subject: [PATCH] asl: fix the expression --- pkgs/development/compilers/asl/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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";