mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
packer: fixes compilation issues
* 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
79d673e21c
commit
511344a56d
|
@ -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…
Reference in a new issue