From 4f49b16079b27d7ce633619e4cddfdf2bffbc952 Mon Sep 17 00:00:00 2001 From: cashmere Date: Fri, 4 Sep 2026 09:05:24 +0200 Subject: initial commit --- nix/theme.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 nix/theme.nix (limited to 'nix/theme.nix') diff --git a/nix/theme.nix b/nix/theme.nix new file mode 100644 index 0000000..e92e087 --- /dev/null +++ b/nix/theme.nix @@ -0,0 +1,19 @@ +{ lib, runCommand }: + +let + package = builtins.fromJSON (builtins.readFile ../tools/copland/package.json); +in +runCommand "copland-fossil-theme-${package.version}" + { + meta = { + description = "Copland skin for Fossil SCM"; + platforms = lib.platforms.all; + }; + } + '' + destination="$out/share/fossil/skins/copland" + mkdir -p "$destination" + cp ${../skins/copland}/*.txt "$destination/" + cp ${../skins/copland}/README.md "$destination/" + cp ${../tools/copland/dist/copland-skin.config} "$destination/copland-skin.config" + '' -- cgit v1.3.1