From f69eb63a1bf4444a5deacdc88282f2a29b87805d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 14 Aug 2013 03:59:38 +0200 Subject: [PATCH] firmware-linux-nonfree: Install copyright notices Most of the firmwares require that redistribution in binary form reproduces the copyright notice. --- .../linux/firmware/firmware-linux-nonfree/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix b/pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix index 952351a9b88a..9ddddfde259a 100644 --- a/pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix +++ b/pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix @@ -54,8 +54,10 @@ in stdenv.mkDerivation { buildInputs = [ dpkg ]; installPhase = '' - mkdir -p "$out/" + mkdir -p $out/share cp -r lib/firmware/* "$out/" + cp -r usr/share/doc $out/share/ + find $out/share -name changelog.gz | xargs rm ''; meta = {