mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-21 17:01:10 +03:00
asl: fix the expression
This commit is contained in:
parent
2b6ba95a19
commit
c70a27d607
1 changed files with 2 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchzip
|
, fetchzip
|
||||||
, buildDocs? false, tex
|
, buildDocs ? false, tex
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-Sbm16JX7kC/7Ws7YgNBUXNqOCl6u+RXgfNjTODhCzSM=";
|
hash = "sha256-Sbm16JX7kC/7Ws7YgNBUXNqOCl6u+RXgfNjTODhCzSM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = lib.optional buildDocs [ tex ];
|
nativeBuildInputs = lib.optionals buildDocs [ tex ];
|
||||||
|
|
||||||
postPatch = lib.optionalString (!buildDocs) ''
|
postPatch = lib.optionalString (!buildDocs) ''
|
||||||
substituteInPlace Makefile --replace "all: binaries docs" "all: binaries"
|
substituteInPlace Makefile --replace "all: binaries docs" "all: binaries"
|
||||||
|
@ -32,10 +32,6 @@ stdenv.mkDerivation rec {
|
||||||
mkdir -p .objdir
|
mkdir -p .objdir
|
||||||
'';
|
'';
|
||||||
|
|
||||||
hardenedDisable = [ "all" ];
|
|
||||||
|
|
||||||
# buildTargets = [ "binaries" "docs" ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://john.ccac.rwth-aachen.de:8000/as/index.html";
|
homepage = "http://john.ccac.rwth-aachen.de:8000/as/index.html";
|
||||||
description = "Portable macro cross assembler";
|
description = "Portable macro cross assembler";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue