From 08076a7b73bc37d3d04234cc5caed4dc75a19340 Mon Sep 17 00:00:00 2001 From: mexisme Date: Sun, 7 Feb 2021 15:49:46 +1300 Subject: [PATCH] Add initial metadata attribute for the additional source --- microsoft/surface/firmware/ath10k.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/microsoft/surface/firmware/ath10k.nix b/microsoft/surface/firmware/ath10k.nix index 1409b92..1a98600 100644 --- a/microsoft/surface/firmware/ath10k.nix +++ b/microsoft/surface/firmware/ath10k.nix @@ -1,4 +1,4 @@ -{stdenv, pkgs, firmwareLinuxNonfree, ...}: +{stdenv, lib, pkgs, firmwareLinuxNonfree, ...}: let repos = (pkgs.callPackage ../repos.nix {}); ath10k = ./ath10k; @@ -11,7 +11,6 @@ firmwareLinuxNonfree.overrideAttrs (old: rec { ath10k ]; sourceRoot = firmwareLinuxNonfree.src; - priority = 1; dontMakeSourcesWritable = true; postInstall = '' @@ -25,4 +24,10 @@ firmwareLinuxNonfree.overrideAttrs (old: rec { ''; outputHash = "1nc56qii96dfvxnv3ad3lxz2rzyqcbldk0h9rbm3l2pgamkvj8dw"; + + meta = with lib; { + description = "Standard binary firmware collection, adjusted with the Surface Go WiFi firmware"; + platforms = platforms.linux; + priority = 5; + }; })