diff options
| author | Chris Wells <chris@mathematicaster.org> | 2024-09-11 10:50:30 -0500 |
|---|---|---|
| committer | Chris Wells <chris@mathematicaster.org> | 2024-09-11 10:50:30 -0500 |
| commit | c3052ddc4e54092bfc9220d550ab4d8fcba166de (patch) | |
| tree | 836e2f11242afe8911e9eabd644c9a20ab668f3d /pkgs/firmware | |
| parent | 4f471484b3a1e16230979a8406503a220b9101f4 (diff) | |
| download | kobo-manager-c3052ddc4e54092bfc9220d550ab4d8fcba166de.tar kobo-manager-c3052ddc4e54092bfc9220d550ab4d8fcba166de.tar.gz kobo-manager-c3052ddc4e54092bfc9220d550ab4d8fcba166de.tar.bz2 kobo-manager-c3052ddc4e54092bfc9220d550ab4d8fcba166de.tar.lz kobo-manager-c3052ddc4e54092bfc9220d550ab4d8fcba166de.tar.xz kobo-manager-c3052ddc4e54092bfc9220d550ab4d8fcba166de.tar.zst kobo-manager-c3052ddc4e54092bfc9220d550ab4d8fcba166de.zip | |
The modules seem fairly solid now. Now to write the cli
Diffstat (limited to 'pkgs/firmware')
| -rw-r--r-- | pkgs/firmware/default.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/firmware/default.nix b/pkgs/firmware/default.nix index e33cf4a..2e6edf9 100644 --- a/pkgs/firmware/default.nix +++ b/pkgs/firmware/default.nix @@ -1,4 +1,4 @@ -{ stdenvNoCC, fetchzip, lib, rsync, kobo-utils, gawk, ... }: +{ stdenvNoCC, fetchzip, lib, kobo-utils, gawk, ... }: { hardware, date, version, hash ? "", ... }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "kobo-firmware"; @@ -13,13 +13,12 @@ stdenvNoCC.mkDerivation (finalAttrs: { nativeBuildInputs = [ kobo-utils gawk - rsync ]; - outputs = [ - "out" - "KoboRoot" - ]; + # outputs = [ + # "out" + # "KoboRoot" + # ]; phases = [ "checkPhase" @@ -40,10 +39,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { installPhase = '' runHook preInstall - rsync -av --links --exclude="KoboRoot.tgz" $src/ $out + cp -rv $src $out + # rsync -av --links --exclude="KoboRoot.tgz" $src/ $out - mkdir $KoboRoot - tar xvzf $src/KoboRoot.tgz --directory=$KoboRoot + # mkdir $KoboRoot + # tar xvzf $src/KoboRoot.tgz --directory=$KoboRoot runHook postInstall ''; @@ -58,6 +58,6 @@ stdenvNoCC.mkDerivation (finalAttrs: { Kobo firmware files. ''; platform = platforms.all; - outputsToInstall = finalAttrs.outputs; + # outputsToInstall = finalAttrs.outputs; }; }) |
