Skip to content

Commit

Permalink
Merge pull request #115 from eliasnaur/silence-warning2
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusramberg authored Sep 30, 2024
2 parents ba93269 + e16a58b commit 066e0dd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions builder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,6 @@ let
, tags ? [ ]
, ldflags ? [ ]

# needed for buildFlags{,Array} warning
, buildFlags ? ""
, buildFlagsArray ? ""

, ...
}@attrs:
let
Expand All @@ -255,8 +251,6 @@ let
pname = attrs.pname or baseNameOf defaultPackage;

in
warnIf (buildFlags != "" || buildFlagsArray != "")
"Use the `ldflags` and/or `tags` attributes instead of `buildFlags`/`buildFlagsArray`"
stdenv.mkDerivation
(optionalAttrs (defaultPackage != "")
{
Expand Down

0 comments on commit 066e0dd

Please sign in to comment.