mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 17:38:29 +02:00
refactor: Use hyphen(`-`) for variable names & folder names(except Python), replace all unserscore(`_`) with hyphen(`-`).
11 lines
229 B
Nix
11 lines
229 B
Nix
{pkgs, ...}:
|
|
pkgs.stdenvNoCC.mkDerivation {
|
|
name = "brcm-firmware";
|
|
nativeBuildInputs = with pkgs; [gnutar xz];
|
|
buildCommand = ''
|
|
dir="$out/lib/"
|
|
mkdir -p "$dir"
|
|
tar -axvf ${./firmware.tar.xz} -C "$dir"
|
|
'';
|
|
}
|