[root@shiva:~]# nix-build -E 'let pkgs = (import <nixpkgs> {}); in pkgs.runCommand "resolvconf" { outputHashAlgo = "sha256"; outputHashMode = "flat"; outputHash = pkgs.lib.fakeHash; } "${pkgs.bind.host}/bin/host download.samba.org"'
this derivation will be built:
/nix/store/q3pxi75g82zl0yx4rayzaqb83fq78mng-resolvconf.drv
building '/nix/store/q3pxi75g82zl0yx4rayzaqb83fq78mng-resolvconf.drv'...
;; UDP setup with 169.254.1.1#53(169.254.1.1) for download.samba.org failed: network unreachable.
;; no servers could be reached
;; UDP setup with 169.254.1.1#53(169.254.1.1) for download.samba.org failed: network unreachable.
;; communications error to 64:ff9b:1:4b8e:472e:a5c8:a9fe:101#53: timed out
;; no servers could be reached
error: builder for '/nix/store/q3pxi75g82zl0yx4rayzaqb83fq78mng-resolvconf.drv' failed with exit code 1;
last 5 log lines:
> ;; UDP setup with 169.254.1.1#53(169.254.1.1) for download.samba.org failed: network unreachable.
> ;; no servers could be reached
> ;; UDP setup with 169.254.1.1#53(169.254.1.1) for download.samba.org failed: network unreachable.
> ;; communications error to 64:ff9b:1:4b8e:472e:a5c8:a9fe:101#53: timed out
> ;; no servers could be reached
For full logs, run:
nix log /nix/store/q3pxi75g82zl0yx4rayzaqb83fq78mng-resolvconf.drv
|