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
|
||||
|
|
|
@ -2733,7 +2733,6 @@ broken-packages:
|
|||
- aeson-diff-generic
|
||||
- aeson-filthy
|
||||
- aeson-flowtyped
|
||||
- aeson-gadt-th
|
||||
- aeson-injector
|
||||
- aeson-iproute
|
||||
- aeson-native
|
||||
|
@ -7801,7 +7800,6 @@ broken-packages:
|
|||
- neural
|
||||
- neural-network-blashs
|
||||
- neural-network-hmatrix
|
||||
- neuron
|
||||
- newhope
|
||||
- newports
|
||||
- newsletter
|
||||
|
@ -8895,7 +8893,6 @@ broken-packages:
|
|||
- rhine
|
||||
- rhine-gloss
|
||||
- rhythm-game-tutorial
|
||||
- rib
|
||||
- ribbit
|
||||
- RichConditional
|
||||
- ridley
|
||||
|
@ -10608,7 +10605,6 @@ broken-packages:
|
|||
- wheb-mongo
|
||||
- wheb-redis
|
||||
- wheb-strapped
|
||||
- which
|
||||
- while-lang-parser
|
||||
- whim
|
||||
- whiskers
|
||||
|
|
|
@ -730,4 +730,24 @@ self: super: builtins.intersectAttrs super {
|
|||
|
||||
# Tests access homeless-shelter.
|
||||
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…
Reference in a new issue