mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +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
@ -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 New Issue
Block a user