buildInputs -> nativeBuildInputs
Will fix bash completion in the shell and is a good practice for non-shell derivations.
This commit is contained in:
parent
bddf4d919d
commit
ed42a5c708
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ let
|
|||
|
||||
sources = import ./sources.nix;
|
||||
|
||||
fakeRepo = src: super.runCommand "source" { inherit src; buildInputs = [super.git]; } ''
|
||||
fakeRepo = src: super.runCommand "source" { inherit src; nativeBuildInputs = [super.git]; } ''
|
||||
cp -r --no-preserve=mode $src $out
|
||||
git init
|
||||
cp -r .git $out
|
||||
|
@ -29,7 +29,7 @@ in
|
|||
'';
|
||||
doc = self.stdenv.mkDerivation {
|
||||
name = "arion-documentation";
|
||||
buildInputs = [super.antora];
|
||||
nativeBuildInputs = [super.antora];
|
||||
src = fakeRepo ../.;
|
||||
HOME = ".";
|
||||
buildPhase = "antora antora-playbook";
|
||||
|
@ -43,7 +43,7 @@ in
|
|||
haskellPkgs = super.haskellPackages.extend (import ./haskell-overlay.nix self super);
|
||||
shell = haskellPkgs.shellFor {
|
||||
packages = p: [p.arion-compose];
|
||||
buildInputs = [
|
||||
nativeBuildInputs = [
|
||||
haskellPkgs.cabal-install
|
||||
haskellPkgs.ghcid
|
||||
haskellPkgs.haskell-language-server
|
||||
|
|
Loading…
Reference in a new issue