summary refs log tree commit diff
diff options
context:
space:
mode:
authorvolth <volth@webmaster.ms>2018-08-07 14:02:44 +0000
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-07 16:02:44 +0200
commit6d00805dff35a437dac7033aa4bc551efcbb1636 (patch)
tree45a59f71607fc7d2f914424c39c1b523b20d9969
parent0282f0d285b853d9f196fcdb61c616220200184f (diff)
downloadnixpkgs-6d00805dff35a437dac7033aa4bc551efcbb1636.tar
nixpkgs-6d00805dff35a437dac7033aa4bc551efcbb1636.tar.gz
nixpkgs-6d00805dff35a437dac7033aa4bc551efcbb1636.tar.bz2
nixpkgs-6d00805dff35a437dac7033aa4bc551efcbb1636.tar.lz
nixpkgs-6d00805dff35a437dac7033aa4bc551efcbb1636.tar.xz
nixpkgs-6d00805dff35a437dac7033aa4bc551efcbb1636.tar.zst
nixpkgs-6d00805dff35a437dac7033aa4bc551efcbb1636.zip
broadcom-bt-firmware: fixed output derivation (#44610)
-rw-r--r--pkgs/os-specific/linux/firmware/broadcom-bt-firmware/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/firmware/broadcom-bt-firmware/default.nix b/pkgs/os-specific/linux/firmware/broadcom-bt-firmware/default.nix
index 01609c8779d..a57a6f1d70f 100644
--- a/pkgs/os-specific/linux/firmware/broadcom-bt-firmware/default.nix
+++ b/pkgs/os-specific/linux/firmware/broadcom-bt-firmware/default.nix
@@ -27,11 +27,15 @@ stdenv.mkDerivation rec {
       linkname=$(basename $filename | awk 'match($0,/^(BCM)[0-9A-Z]+(-[0-9a-z]{4}-[0-9a-z]{4}\.hcd)$/,c) { print c[1]c[2] }')
       if ! [ -z $linkname ]
       then
-        ln -s -T $filename $out/lib/firmware/brcm/$linkname
+        ln -s --relative -T $filename $out/lib/firmware/brcm/$linkname
       fi
     done
   '';
 
+  outputHashMode = "recursive";
+  outputHashAlgo = "sha256";
+  outputHash = "042frb2dmrqfj8q83h5p769q6hg2b3i8fgnyvs9r9a71z7pbsagq";
+
   meta = with stdenv.lib; {
     description = "Firmware for Broadcom WIDCOMM® Bluetooth devices";
     homepage = http://www.catalog.update.microsoft.com/Search.aspx?q=Broadcom+bluetooth;