File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 7
7
nixpkgs = import sources . nixpkgs { } ;
8
8
in {
9
9
pkgs ? nixpkgs ,
10
+ pkgsForBins ? null ,
10
11
neuronFlags ? [ ] ,
11
12
disableHsLuaTests ? false ,
12
13
withHoogle ? false ,
35
36
cp $src/src-bash/neuron-search $out/bin/neuron-search
36
37
chmod +x $out/bin/neuron-search
37
38
wrapProgram $out/bin/neuron-search --prefix 'PATH' ':' ${
38
- with nixpkgs ;
39
+ with ( if pkgsForBins != null then pkgsForBins else pkgs ) ;
39
40
lib . makeBinPath [ fzf ripgrep gawk bat findutils envsubst ]
40
41
}
41
42
PATH=$PATH:$out/bin
Original file line number Diff line number Diff line change 6
6
in
7
7
( import ./project.nix {
8
8
inherit pkgs ;
9
+ # We have to use original nixpkgs for fzf, etc. otherwise this will give
10
+ # error: missing bootstrap url for platform x86_64-unknown-linux-musl
11
+ pkgsForBins = import sources . nixpkgs { } ;
9
12
disableHsLuaTests = true ;
10
13
neuronFlags = [
11
14
"--ghc-option=-optl=-static"
You can’t perform that action at this time.
0 commit comments