stdenv/generic: fix todo

This commit is contained in:
Artturin 2022-12-13 00:34:48 +02:00
parent af70ba03d3
commit 7866db71cc

View file

@ -76,9 +76,7 @@ let
../../build-support/setup-hooks/move-lib64.sh
../../build-support/setup-hooks/set-source-date-epoch-to-latest.sh
../../build-support/setup-hooks/reproducible-builds.sh
# TODO use lib.optional instead
(if hasCC then cc else null)
];
] ++ lib.optionals hasCC [ cc ];
defaultBuildInputs = extraBuildInputs;