summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2023-01-11 15:54:47 +0100
committersternenseemann <sternenseemann@systemli.org>2023-01-11 16:28:28 +0100
commit6c8644fc37b6e141cbfa6c7dc8d98846c4ff0c2e (patch)
tree22e88e6c4f7562247eca276fa13cb15c6b9fa861
parentc269e695d8784b70c2468fe2a12c26ef086530c1 (diff)
downloadnixpkgs-6c8644fc37b6e141cbfa6c7dc8d98846c4ff0c2e.tar
nixpkgs-6c8644fc37b6e141cbfa6c7dc8d98846c4ff0c2e.tar.gz
nixpkgs-6c8644fc37b6e141cbfa6c7dc8d98846c4ff0c2e.tar.bz2
nixpkgs-6c8644fc37b6e141cbfa6c7dc8d98846c4ff0c2e.tar.lz
nixpkgs-6c8644fc37b6e141cbfa6c7dc8d98846c4ff0c2e.tar.xz
nixpkgs-6c8644fc37b6e141cbfa6c7dc8d98846c4ff0c2e.tar.zst
nixpkgs-6c8644fc37b6e141cbfa6c7dc8d98846c4ff0c2e.zip
ath9k-htc-blobless-firmware: fix evaluation with Nix 2.3
Path interpolation is not available in all Nix versions nixpkgs supports
-rw-r--r--pkgs/os-specific/linux/firmware/ath9k/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/firmware/ath9k/default.nix b/pkgs/os-specific/linux/firmware/ath9k/default.nix
index 63c49c0a088..42aca54e933 100644
--- a/pkgs/os-specific/linux/firmware/ath9k/default.nix
+++ b/pkgs/os-specific/linux/firmware/ath9k/default.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
     let
       inherit (lib) toUpper splitString last listToAttrs pipe;
       inherit (builtins) map;
-      urls-and-hashes = import ./urls-and-hashes-${finalAttrs.version}.nix;
+      urls-and-hashes = import (./. + "/urls-and-hashes-${finalAttrs.version}.nix");
       make-links = pipe
         [ "gcc" "binutils" "gmp" "mpfr" "mpc" ]
         [ (map (vname: fetchurl rec {