mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
packer: fixes compilation issues (#18217)
* the default output for buildGoPackage is not "out" anymore * go 1.7 has removed the linker flag deprecation which breaks packer's Makefile
This commit is contained in:
parent
be0168f831
commit
d376b10105
2 changed files with 13 additions and 3 deletions
|
@ -5,9 +5,9 @@ stdenv.mkDerivation rec {
|
|||
name = "packer-${version}";
|
||||
version = "0.10.1";
|
||||
|
||||
src = import ./deps.nix {
|
||||
src = (import ./deps.nix {
|
||||
inherit stdenv lib gox gotools buildGoPackage fetchgit fetchhg fetchbzr fetchsvn;
|
||||
};
|
||||
}).out;
|
||||
|
||||
buildInputs = [ src.go gox gotools ];
|
||||
|
||||
|
|
|
@ -170,7 +170,17 @@ in
|
|||
|
||||
fetchMavenArtifact = callPackage ../build-support/fetchmavenartifact { };
|
||||
|
||||
packer = callPackage ../development/tools/packer { };
|
||||
packer = callPackage ../development/tools/packer {
|
||||
# Go 1.7 changed the linker flag format
|
||||
buildGoPackage = buildGo16Package;
|
||||
gotools = self.gotools.override {
|
||||
buildGoPackage = buildGo16Package;
|
||||
go = self.go_1_6;
|
||||
};
|
||||
gox = self.gox.override {
|
||||
buildGoPackage = buildGo16Package;
|
||||
};
|
||||
};
|
||||
|
||||
fetchpatch = callPackage ../build-support/fetchpatch { };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue