Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WireGuard: Make tools available on other platforms #40744

Merged
merged 5 commits into from May 19, 2018

Conversation

kirelagin
Copy link
Member

@kirelagin kirelagin commented May 18, 2018

Wireguard is now split into two pretty much independent packages: wireguard (Linux-specific kernel module) and wireguard-tools, which is cross-platform.

Motivation for this change

Make tools available on darwin and any other platforms.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

I have built a NixOS configuration but have not actually activated it, merely made sure there were no errors and checked visually that the module and tools seem to be present in it as expected.

Wireguard is now split into two pretty much independent packages:
`wireguard` (Linux-specific kernel module) and `wireguard-tools`,
which is cross-platform.
@xeji
Copy link
Contributor

xeji commented May 18, 2018

/cc @Mic92

@lukateras
Copy link
Member

@GrahamcOfBorg build wireguard-tools

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: wireguard-tools

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wd59bbhnxfp1vs79js209rx94zisg51s-wireguard-tools-0.0.20180514
shrinking /nix/store/wd59bbhnxfp1vs79js209rx94zisg51s-wireguard-tools-0.0.20180514/bin/wg
gzipping man pages under /nix/store/wd59bbhnxfp1vs79js209rx94zisg51s-wireguard-tools-0.0.20180514/share/man/
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wd59bbhnxfp1vs79js209rx94zisg51s-wireguard-tools-0.0.20180514/lib  /nix/store/wd59bbhnxfp1vs79js209rx94zisg51s-wireguard-tools-0.0.20180514/bin
patching script interpreter paths in /nix/store/wd59bbhnxfp1vs79js209rx94zisg51s-wireguard-tools-0.0.20180514
/nix/store/wd59bbhnxfp1vs79js209rx94zisg51s-wireguard-tools-0.0.20180514/bin/wg-quick: interpreter directive changed from "/bin/bash" to "/nix/store/l4w7xwjy2nmk31fl5kgyy7gg8z7l9n8z-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/wd59bbhnxfp1vs79js209rx94zisg51s-wireguard-tools-0.0.20180514...
/nix/store/wd59bbhnxfp1vs79js209rx94zisg51s-wireguard-tools-0.0.20180514

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: wireguard-tools

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/bam97p91r0pwbmf8dj9qb094y0xxqmxc-wireguard-tools-0.0.20180514
shrinking /nix/store/bam97p91r0pwbmf8dj9qb094y0xxqmxc-wireguard-tools-0.0.20180514/bin/wg
gzipping man pages under /nix/store/bam97p91r0pwbmf8dj9qb094y0xxqmxc-wireguard-tools-0.0.20180514/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/bam97p91r0pwbmf8dj9qb094y0xxqmxc-wireguard-tools-0.0.20180514/lib  /nix/store/bam97p91r0pwbmf8dj9qb094y0xxqmxc-wireguard-tools-0.0.20180514/bin
patching script interpreter paths in /nix/store/bam97p91r0pwbmf8dj9qb094y0xxqmxc-wireguard-tools-0.0.20180514
/nix/store/bam97p91r0pwbmf8dj9qb094y0xxqmxc-wireguard-tools-0.0.20180514/bin/wg-quick: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/bam97p91r0pwbmf8dj9qb094y0xxqmxc-wireguard-tools-0.0.20180514...
/nix/store/bam97p91r0pwbmf8dj9qb094y0xxqmxc-wireguard-tools-0.0.20180514

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: wireguard-tools

Partial log (click to expand)

'man/wg-quick.8' -> '/nix/store/zq420gh8qgrnsgfr1f1zgh2ckin8g9bk-wireguard-tools-0.0.20180514//share/man/man8/wg-quick.8'
'completion/wg-quick.bash-completion' -> '/nix/store/zq420gh8qgrnsgfr1f1zgh2ckin8g9bk-wireguard-tools-0.0.20180514//share/bash-completion/completions/wg-quick'
make: Leaving directory '/private/tmp/nix-build-wireguard-tools-0.0.20180514.drv-0/WireGuard-0.0.20180514/src/tools'
post-installation fixup
gzipping man pages under /nix/store/zq420gh8qgrnsgfr1f1zgh2ckin8g9bk-wireguard-tools-0.0.20180514/share/man/
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/zq420gh8qgrnsgfr1f1zgh2ckin8g9bk-wireguard-tools-0.0.20180514/bin
patching script interpreter paths in /nix/store/zq420gh8qgrnsgfr1f1zgh2ckin8g9bk-wireguard-tools-0.0.20180514
/nix/store/zq420gh8qgrnsgfr1f1zgh2ckin8g9bk-wireguard-tools-0.0.20180514/bin/wg-quick: interpreter directive changed from "/usr/local/bin/bash" to "/nix/store/r8bx3qf1bpncb14i9gzma4vr089pc3pv-bash-4.4-p19/bin/bash"
/nix/store/zq420gh8qgrnsgfr1f1zgh2ckin8g9bk-wireguard-tools-0.0.20180514

@lukateras
Copy link
Member

@GrahamcOfBorg build linuxPackages.wireguard

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: linuxPackages.wireguard

Partial log (click to expand)

while evaluating the attribute 'linux_4_14' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13504:3:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13504:16:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/linux-4.14.nix:1:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
while evaluating 'buildLinux' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13796:16, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/linux-4.14.nix:5:1:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13796:23:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/generic.nix:1:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
assertion failed at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/generic.nix:45:1

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: linuxPackages.wireguard

Partial log (click to expand)

install flags: install
  INSTALL /build/WireGuard-0.0.20180514/src/wireguard.ko
  DEPMOD  4.14.41
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/50y1qgy3q238g88qd8jr73nh3jzr27j1-wireguard-0.0.20180514
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/50y1qgy3q238g88qd8jr73nh3jzr27j1-wireguard-0.0.20180514/lib
patching script interpreter paths in /nix/store/50y1qgy3q238g88qd8jr73nh3jzr27j1-wireguard-0.0.20180514
checking for references to /build in /nix/store/50y1qgy3q238g88qd8jr73nh3jzr27j1-wireguard-0.0.20180514...
/nix/store/50y1qgy3q238g88qd8jr73nh3jzr27j1-wireguard-0.0.20180514

Copy link
Member

@lukateras lukateras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, other than fetchurl on snapshot.

Because cgit snapshots are not deterministic.
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: linuxPackages.wireguard

Partial log (click to expand)

install flags: install
  INSTALL /build/WireGuard-0.0.20180514/src/wireguard.ko
  DEPMOD  4.14.41
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/pzxwd3whawifqz5f2wj2q83ksfivwmdp-wireguard-0.0.20180514
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pzxwd3whawifqz5f2wj2q83ksfivwmdp-wireguard-0.0.20180514/lib
patching script interpreter paths in /nix/store/pzxwd3whawifqz5f2wj2q83ksfivwmdp-wireguard-0.0.20180514
checking for references to /build in /nix/store/pzxwd3whawifqz5f2wj2q83ksfivwmdp-wireguard-0.0.20180514...
/nix/store/pzxwd3whawifqz5f2wj2q83ksfivwmdp-wireguard-0.0.20180514

@@ -5500,6 +5500,8 @@ with pkgs;

whois = callPackage ../tools/networking/whois { };

wireguard-tools = callPackage ../tools/networking/wireguard-tools { };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to rename this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly to avoid ambiguity, reduce potential confusion and make it clear that when you are installing wireguard-tools you are getting only tools, not all of WireGuard. Also because wireguard-tools are a separate package in many other distros.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer keep the upstream name instead because it is easier to guess.

Copy link
Member

@Mic92 Mic92 May 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also the reference in our nixos module needs to be renamed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe wireguard-tools is actually easier to guess, because it is called this way in (almost) every other major distro (Debian, Fedora, Arch, OpenSUSE, OpenWrt, Homebrew). So this name is consistent with the way others name it and, more importantly, with what the package actually does.
I guess, let’s wait for what @zx2c4 has to say on this matter.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also the reference in our nixos module needs to be renamed.

I believe I renamed it right in my first commit.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mic92: wireguard-tools indeed seems to be an upstream-approved name for that package. See Homebrew/homebrew-core#27863 for example.

version = "0.0.20180514";

src = fetchurl {
src = fetchzip {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it is a good idea to split this file because now somebody might by accident update only one of the two packages. Why not mark the user space component as platform independent instead of duplicating the package?

Copy link
Member Author

@kirelagin kirelagin May 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding is that the versions of the module and tools are actually more-or-less independent, but I might be wrong.
I also find current logic with returning a different derivation based on the presence of the kernel argument somewhat, um, unorthodox.

instead of duplicating the package

Which directory will we put it into then? The kernel module really belongs to os-specific/linux and tools really do not belong there. I considered having a separate .nix file with the source definition, but a) I was not sure which directory to put it into 🙂, b) see my previous point, I believe the versions are independent, so I chose the simplest path.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could as well be inherit (wireguard-tools) src. This shouldn't matter long-term, because Wireguard is going to be upstreamed to the kernel tree.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Userspace and kernelspace need to be kept in think. If the netlink interface is extended they might become incompatible. This might change when wireguard gets upstream, but we are not there yet.

@Mic92
Copy link
Member

Mic92 commented May 19, 2018

cc @zx2c4

@lukateras
Copy link
Member

@GrahamcOfBorg build linuxPackages.wireguard

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: linuxPackages.wireguard

Partial log (click to expand)

while evaluating the attribute 'linux_4_14' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13509:3:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13509:16:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/linux-4.14.nix:1:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
while evaluating 'buildLinux' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13801:16, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/linux-4.14.nix:5:1:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13801:23:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/generic.nix:1:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
assertion failed at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/generic.nix:45:1

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: linuxPackages.wireguard

Partial log (click to expand)

install flags: install
  INSTALL /build/source/src/wireguard.ko
  DEPMOD  4.14.41
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ahjfaphczn03lb2qlm4mmdhby0s0gb6j-wireguard-0.0.20180514
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ahjfaphczn03lb2qlm4mmdhby0s0gb6j-wireguard-0.0.20180514/lib
patching script interpreter paths in /nix/store/ahjfaphczn03lb2qlm4mmdhby0s0gb6j-wireguard-0.0.20180514
checking for references to /build in /nix/store/ahjfaphczn03lb2qlm4mmdhby0s0gb6j-wireguard-0.0.20180514...
/nix/store/ahjfaphczn03lb2qlm4mmdhby0s0gb6j-wireguard-0.0.20180514

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: linuxPackages.wireguard

Partial log (click to expand)

install flags: install
  INSTALL /build/source/src/wireguard.ko
  DEPMOD  4.14.41
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/kvpw2876h636bnnfs99bnqjw5hi6b2s8-wireguard-0.0.20180514
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/kvpw2876h636bnnfs99bnqjw5hi6b2s8-wireguard-0.0.20180514/lib
patching script interpreter paths in /nix/store/kvpw2876h636bnnfs99bnqjw5hi6b2s8-wireguard-0.0.20180514
checking for references to /build in /nix/store/kvpw2876h636bnnfs99bnqjw5hi6b2s8-wireguard-0.0.20180514...
/nix/store/kvpw2876h636bnnfs99bnqjw5hi6b2s8-wireguard-0.0.20180514

@Mic92
Copy link
Member

Mic92 commented May 19, 2018

@GrahamcOfBorg build linuxPackages_testing_bcachefs.wireguard linuxPackages_4_16.wireguard linuxPackages_4_14.wireguard linuxPackages.wireguard linuxPackages_hardened.wireguard linuxPackages_4_9.wireguard linuxPackages_copperhead_stable.wireguard linuxPackages_latest_hardened.wireguard linuxPackages_4_4.wireguard linuxPackages_copperhead_lts.wireguard linuxPackages_samus_4_12.wireguard wireguard-tools linuxPackages_samus_latest.wireguard linuxPackages_xen_dom0_hardened.wireguard linuxPackages_latest_xen_dom0.wireguard linuxPackages_xen_dom0.wireguard linuxPackages_latest.wireguard linuxPackages_latest_xen_dom0_hardened.wireguard

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: wireguard-tools

The following builds were skipped because they don't evaluate on x86_64-darwin: linuxPackages_testing_bcachefs.wireguard, linuxPackages_4_16.wireguard, linuxPackages_4_14.wireguard, linuxPackages.wireguard, linuxPackages_hardened.wireguard, linuxPackages_4_9.wireguard, linuxPackages_copperhead_stable.wireguard, linuxPackages_latest_hardened.wireguard, linuxPackages_4_4.wireguard, linuxPackages_copperhead_lts.wireguard, linuxPackages_samus_4_12.wireguard, linuxPackages_samus_latest.wireguard, linuxPackages_xen_dom0_hardened.wireguard, linuxPackages_latest_xen_dom0.wireguard, linuxPackages_xen_dom0.wireguard, linuxPackages_latest.wireguard, linuxPackages_latest_xen_dom0_hardened.wireguard

Partial log (click to expand)

'man/wg-quick.8' -> '/nix/store/nabmxajmdcpnrfnrpgby7lj8m9yrbrag-wireguard-tools-0.0.20180514//share/man/man8/wg-quick.8'
'completion/wg-quick.bash-completion' -> '/nix/store/nabmxajmdcpnrfnrpgby7lj8m9yrbrag-wireguard-tools-0.0.20180514//share/bash-completion/completions/wg-quick'
make: Leaving directory '/private/tmp/nix-build-wireguard-tools-0.0.20180514.drv-0/source/src/tools'
post-installation fixup
gzipping man pages under /nix/store/nabmxajmdcpnrfnrpgby7lj8m9yrbrag-wireguard-tools-0.0.20180514/share/man/
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/nabmxajmdcpnrfnrpgby7lj8m9yrbrag-wireguard-tools-0.0.20180514/bin
patching script interpreter paths in /nix/store/nabmxajmdcpnrfnrpgby7lj8m9yrbrag-wireguard-tools-0.0.20180514
/nix/store/nabmxajmdcpnrfnrpgby7lj8m9yrbrag-wireguard-tools-0.0.20180514/bin/wg-quick: interpreter directive changed from "/usr/local/bin/bash" to "/nix/store/r8bx3qf1bpncb14i9gzma4vr089pc3pv-bash-4.4-p19/bin/bash"
/nix/store/nabmxajmdcpnrfnrpgby7lj8m9yrbrag-wireguard-tools-0.0.20180514

@Mic92 Mic92 merged commit 8bcec81 into NixOS:master May 19, 2018
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: linuxPackages_testing_bcachefs.wireguard, linuxPackages_4_16.wireguard, linuxPackages_4_14.wireguard, linuxPackages.wireguard, linuxPackages_hardened.wireguard, linuxPackages_4_9.wireguard, linuxPackages_copperhead_stable.wireguard, linuxPackages_latest_hardened.wireguard, linuxPackages_4_4.wireguard, linuxPackages_copperhead_lts.wireguard, linuxPackages_samus_4_12.wireguard, wireguard-tools, linuxPackages_samus_latest.wireguard, linuxPackages_xen_dom0_hardened.wireguard, linuxPackages_latest_xen_dom0.wireguard, linuxPackages_xen_dom0.wireguard, linuxPackages_latest.wireguard, linuxPackages_latest_xen_dom0_hardened.wireguard

Partial log (click to expand)

/nix/store/19sna6daxi0s1wybrqahyi1yx65cxhmb-wireguard-0.0.20180514
/nix/store/lnazdsxknpzckqlyps2n9rpx5fb1jljy-wireguard-0.0.20180514
/nix/store/2xkv1i1frblkjpddprkshwdyp7gq6gl0-wireguard-0.0.20180514
/nix/store/hr8lhdhmnz232dzls0x0w0v1agz7jab4-wireguard-tools-0.0.20180514
/nix/store/2xkv1i1frblkjpddprkshwdyp7gq6gl0-wireguard-0.0.20180514
/nix/store/qvp2g9dxxhiacdkb8lvy40fjzc78nx75-wireguard-0.0.20180514
/nix/store/w6ccc9brjkg749zhyqs3vphb0m3i1pvh-wireguard-0.0.20180514
/nix/store/hz8fawzsr03raipcvcripj4m46y40dgc-wireguard-0.0.20180514
/nix/store/x5kb4ap9ipii5sfq6c5b9dy59axlxi4h-wireguard-0.0.20180514
/nix/store/28bydihkxvdhb3v744nimmps1zqnkmdw-wireguard-0.0.20180514

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: linuxPackages_testing_bcachefs.wireguard, linuxPackages_4_16.wireguard, linuxPackages_4_14.wireguard, linuxPackages.wireguard, linuxPackages_hardened.wireguard, linuxPackages_4_9.wireguard, linuxPackages_copperhead_stable.wireguard, linuxPackages_latest_hardened.wireguard, linuxPackages_4_4.wireguard, linuxPackages_copperhead_lts.wireguard, wireguard-tools, linuxPackages_xen_dom0_hardened.wireguard, linuxPackages_latest_xen_dom0.wireguard, linuxPackages_xen_dom0.wireguard, linuxPackages_latest.wireguard, linuxPackages_latest_xen_dom0_hardened.wireguard

The following builds were skipped because they don't evaluate on aarch64-linux: linuxPackages_samus_4_12.wireguard, linuxPackages_samus_latest.wireguard

Partial log (click to expand)

  CC      drivers/usb/serial/digi_acceleport.mod.o
  CC      drivers/usb/serial/empeg.mod.o
  CC      drivers/usb/serial/f81232.mod.o
  CC      drivers/usb/serial/f81534.mod.o
  CC      drivers/usb/serial/ftdi_sio.mod.o
  CC      drivers/usb/serial/garmin_gps.mod.o
  CC      drivers/usb/serial/io_edgeport.mod.o
building of '/nix/store/5c7v8ky956f316l3p0s1masc2vaibhx0-linux-4.14.41-a.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/dngc6n98slj7vx7z188q16f4jijkz5qb-wireguard-0.0.20180514.drv': 1 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/71ggkkj7g4hfh2bimwfmldnc5wf2slfn-wireguard-0.0.20180514.drv', '/nix/store/7mvxi97acr769b4cz92cdx0cfp8a7b30-wireguard-0.0.20180514.drv', '/nix/store/c52h7nr96wl8jk9brzdhzkqy8am0fk54-wireguard-0.0.20180514.drv', '/nix/store/d937r30cy59nr266m2vrw370n082i02w-wireguard-0.0.20180514.drv', '/nix/store/dngc6n98slj7vx7z188q16f4jijkz5qb-wireguard-0.0.20180514.drv', '/nix/store/rn06sanwgp4h6j963c79s74k4s28kh8b-wireguard-0.0.20180514.drv', '/nix/store/xnazpf0nlwqkxhhxg2aafd4v88m67bgp-wireguard-0.0.20180514.drv', '/nix/store/yfcc8i504hn46qqwi9m7da6yhrhcp1a3-wireguard-0.0.20180514.drv' failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants