Nixpkgs: hardware.enableAllFirmware results in upstream URL error

Created on 4 May 2018  路  3Comments  路  Source: NixOS/nixpkgs

Latest 18.03 has this:

root@nixos:/mnt/etc/nixos]# NIXOS_CONFIG="/mnt/etc/nixos/intel-nuc7i7bnh/configuration.nix" nixos-install
building the configuration in /mnt/etc/nixos/intel-nuc7i7bnh/configuration.nix...
warning: dumping very large path (> 256 MiB); this may run out of memory
builder for '/nix/store/s0625g6yn78kh3avjj16qgfws0akfjgf-852bb503-de7b-4810-a7dd-cbab62742f09_7cf83a4c194116648d17707ae37d564f9c70bec2.cab.drv' failed with exit code 1; last 7 log lines:

  trying http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/04/852bb503-de7b-4810-a7dd-cbab62742f09_7cf83a4c194116648d17707ae37d564f9c70bec2.cab
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
   99  476k   99  475k    0     0   652k      0 --:--:-- --:--:-- --:--:--  651k
  curl: (56) Recv failure: Connection reset by peer
  error: cannot download 852bb503-de7b-4810-a7dd-cbab62742f09_7cf83a4c194116648d17707ae37d564f9c70bec2.cab from any mirror
cannot build derivation '/nix/store/pfn6w4x414lwkjc1lrw4xj6wbskwy7wy-broadcom-bt-firmware-12.0.1.1012.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k8havn4021avanls09glbpk0sq3jcqxl-firmware.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wm89p7m1p2j6802y9d0ny2ykzcq9h7hx-nixos-system-matrix-sidekick-18.03.132217.c56ebaba1b0.drv': 1 dependencies couldn't be built
[0 built (1 failed), 1121 copied (5916.6 MiB), 887.2 MiB DL]
error: build of '/nix/store/wm89p7m1p2j6802y9d0ny2ykzcq9h7hx-nixos-system-matrix-sidekick-18.03.132217.c56ebaba1b0.drv' failed

The http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/04/852bb503-de7b-4810-a7dd-cbab62742f09_7cf83a4c194116648d17707ae37d564f9c70bec2.cab appears broken.

Most helpful comment

I'm getting it downloaded correctly:

$ nix-prefetch-url http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/04/852bb503-de7b-4810-a7dd-cbab62742f09_7cf83a4c194116648d17707ae37d564f9c70bec2.cab
path is '/nix/store/wplsilwf442sr0d5pxjwivi1ydscwkcw-852bb503-de7b-4810-a7dd-cbab62742f09_7cf83a4c194116648d17707ae37d564f9c70bec2.cab'
1b1qjwxjk4y91l3iz157kms8601n0mmiik32cs6w9b1q4sl4pxx9

All 3 comments

I'm getting it downloaded correctly:

$ nix-prefetch-url http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/04/852bb503-de7b-4810-a7dd-cbab62742f09_7cf83a4c194116648d17707ae37d564f9c70bec2.cab
path is '/nix/store/wplsilwf442sr0d5pxjwivi1ydscwkcw-852bb503-de7b-4810-a7dd-cbab62742f09_7cf83a4c194116648d17707ae37d564f9c70bec2.cab'
1b1qjwxjk4y91l3iz157kms8601n0mmiik32cs6w9b1q4sl4pxx9

curl: (56) Recv failure: Connection reset by peer
This seems to be a transient error. Did you try multiple times?

Transient error... should probably be resolved with some sort of upstream caching system (IPFS or otherwise).

Was this page helpful?
0 / 5 - 0 ratings