Gitiles
Code Review
Sign In
gerrit-dev.monogon.dev
/
monogon
/
f6c2cd25e6f0dca5cbe6279d46a3a77f14120529
/
.
/
third_party
/
nix
/
pkgs
/
bison
/
default.nix
blob: 8b2245eb6406e045e4d5431a254a38f9eff98ba1 [
file
] [
log
] [
blame
]
{
pkgs
}:
with
pkgs
;
if
(!
stdenv
.
hostPlatform
.
isStatic
)
then
bison
else
bison
.
overrideAttrs
(
old
:
{
# Check overrided file for more informations
postPatch
=
''
cp $
{./
yacc
.
in
}
src
/
yacc
.
in
''
;
env
.
BISON
=
"${builtins.placeholder "
out
"}/bin/bison"
;
})