doc: move makeWrapper to nativeBuildInputs from buildInputs
makeWrapper in buildInputs breaks cross-compilation with error: attribute 'runtimeShell' missing
This commit is contained in:
parent
271665ec4c
commit
c87635d917
|
@ -233,7 +233,8 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = builtins.fetchTarball
|
src = builtins.fetchTarball
|
||||||
"https://github.com/fzakaria/nixos-maven-example/archive/main.tar.gz";
|
"https://github.com/fzakaria/nixos-maven-example/archive/main.tar.gz";
|
||||||
buildInputs = [ maven makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
buildInputs = [ maven ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
echo "Using repository ${repository}"
|
echo "Using repository ${repository}"
|
||||||
|
@ -310,7 +311,8 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = builtins.fetchTarball
|
src = builtins.fetchTarball
|
||||||
"https://github.com/fzakaria/nixos-maven-example/archive/main.tar.gz";
|
"https://github.com/fzakaria/nixos-maven-example/archive/main.tar.gz";
|
||||||
buildInputs = [ maven makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
buildInputs = [ maven ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
echo "Using repository ${repository}"
|
echo "Using repository ${repository}"
|
||||||
|
|
|
@ -274,7 +274,7 @@ bundlerApp {
|
||||||
gemdir = ./.;
|
gemdir = ./.;
|
||||||
exes = [ "r10k" ];
|
exes = [ "r10k" ];
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
wrapProgram $out/bin/r10k --prefix PATH : ${lib.makeBinPath [ git gnutar gzip ]}
|
wrapProgram $out/bin/r10k --prefix PATH : ${lib.makeBinPath [ git gnutar gzip ]}
|
||||||
|
|
Loading…
Reference in a new issue