From 2594239bbc64d3d830a7e2fdba4b19527abb65a4 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 10 Mar 2023 18:51:07 +0000 Subject: [PATCH] can't use builtins.fetchurl on hydra? --- devices/gl-mt300n-v2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devices/gl-mt300n-v2/default.nix b/devices/gl-mt300n-v2/default.nix index 61e7e0b..9a98d11 100644 --- a/devices/gl-mt300n-v2/default.nix +++ b/devices/gl-mt300n-v2/default.nix @@ -28,9 +28,9 @@ drivers = ["mt7603e"]; klibBuild = config.outputs.kernel.modulesupport; }; - wlan_firmware = builtins.fetchurl { + wlan_firmware = pkgs.fetchurl { url = "https://github.com/openwrt/mt76/raw/f24b56f935392ca1d35fae5fd6e56ef9deda4aad/firmware/mt7628_e2.bin"; - sha256 = "sha256:1dkhfznmdz6s50kwc841x3wj0h6zg6icg5g2bim9pvg66as2vmh9"; + hash = "sha256:1dkhfznmdz6s50kwc841x3wj0h6zg6icg5g2bim9pvg66as2vmh9"; }; in { filesystem = dir {