hackagePackages.neuron: Fix build
This commit is contained in:
parent
730024fcaa
commit
a61cf82b6d
@ -1515,4 +1515,8 @@ self: super: {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# hasn‘t bumped upper bounds
|
||||||
|
# upstream: https://github.com/obsidiansystems/which/pull/6
|
||||||
|
which = doJailbreak super.which;
|
||||||
|
|
||||||
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
||||||
|
@ -2733,7 +2733,6 @@ broken-packages:
|
|||||||
- aeson-diff-generic
|
- aeson-diff-generic
|
||||||
- aeson-filthy
|
- aeson-filthy
|
||||||
- aeson-flowtyped
|
- aeson-flowtyped
|
||||||
- aeson-gadt-th
|
|
||||||
- aeson-injector
|
- aeson-injector
|
||||||
- aeson-iproute
|
- aeson-iproute
|
||||||
- aeson-native
|
- aeson-native
|
||||||
@ -7801,7 +7800,6 @@ broken-packages:
|
|||||||
- neural
|
- neural
|
||||||
- neural-network-blashs
|
- neural-network-blashs
|
||||||
- neural-network-hmatrix
|
- neural-network-hmatrix
|
||||||
- neuron
|
|
||||||
- newhope
|
- newhope
|
||||||
- newports
|
- newports
|
||||||
- newsletter
|
- newsletter
|
||||||
@ -8895,7 +8893,6 @@ broken-packages:
|
|||||||
- rhine
|
- rhine
|
||||||
- rhine-gloss
|
- rhine-gloss
|
||||||
- rhythm-game-tutorial
|
- rhythm-game-tutorial
|
||||||
- rib
|
|
||||||
- ribbit
|
- ribbit
|
||||||
- RichConditional
|
- RichConditional
|
||||||
- ridley
|
- ridley
|
||||||
@ -10608,7 +10605,6 @@ broken-packages:
|
|||||||
- wheb-mongo
|
- wheb-mongo
|
||||||
- wheb-redis
|
- wheb-redis
|
||||||
- wheb-strapped
|
- wheb-strapped
|
||||||
- which
|
|
||||||
- while-lang-parser
|
- while-lang-parser
|
||||||
- whim
|
- whim
|
||||||
- whiskers
|
- whiskers
|
||||||
|
@ -730,4 +730,24 @@ self: super: builtins.intersectAttrs super {
|
|||||||
|
|
||||||
# Tests access homeless-shelter.
|
# Tests access homeless-shelter.
|
||||||
hie-bios = dontCheck super.hie-bios;
|
hie-bios = dontCheck super.hie-bios;
|
||||||
|
|
||||||
|
# Compiling the readme throws errors and has no purpose in nixpkgs
|
||||||
|
aeson-gadt-th =
|
||||||
|
disableCabalFlag (doJailbreak (super.aeson-gadt-th)) "build-readme";
|
||||||
|
|
||||||
|
neuron = overrideCabal (super.neuron) (drv: {
|
||||||
|
# neuron expects the neuron-search script to be in PATH at built-time.
|
||||||
|
buildTools = [ pkgs.makeWrapper ];
|
||||||
|
preConfigure = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp src-bash/neuron-search $out/bin/neuron-search
|
||||||
|
chmod +x $out/bin/neuron-search
|
||||||
|
wrapProgram $out/bin/neuron-search --prefix 'PATH' ':' ${
|
||||||
|
with pkgs;
|
||||||
|
lib.makeBinPath [ fzf ripgrep gawk bat findutils envsubst ]
|
||||||
|
}
|
||||||
|
PATH=$PATH:$out/bin
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user