aboutsummaryrefslogtreecommitdiff
path: root/modules/build
diff options
context:
space:
mode:
authorChris Wells <chris@mathematicaster.org>2024-09-11 10:50:30 -0500
committerChris Wells <chris@mathematicaster.org>2024-09-11 10:50:30 -0500
commitc3052ddc4e54092bfc9220d550ab4d8fcba166de (patch)
tree836e2f11242afe8911e9eabd644c9a20ab668f3d /modules/build
parent4f471484b3a1e16230979a8406503a220b9101f4 (diff)
downloadkobo-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 'modules/build')
-rw-r--r--modules/build/firmware.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/build/firmware.nix b/modules/build/firmware.nix
index 3a1039b..785de4f 100644
--- a/modules/build/firmware.nix
+++ b/modules/build/firmware.nix
@@ -32,8 +32,7 @@ in {
];
} ''
mkdir $out
- tar czvf $out/KoboRoot.tgz --directory="${config.firmware.package.KoboRoot}" . --mode=u+w
- rsync -rv --links --executability --chmod=u+w "${config.firmware.package.out}/" $out
+ rsync -rv --links --executability --chmod=u+w "${config.firmware.package}/" $out
# Check that we haven't fucked up!
KOBOVERSION="$(kobo-versionextract "$out/KoboRoot.tgz" | awk '{if ($1 == "Version:") print $2}')"