From 17a3ea880402338420699e03bcb24181e4ff3924 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Thu, 2 May 2024 20:27:40 +0200 Subject: Initial commit Based on dc4ba6a --- script/archiver/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 script/archiver/default.nix (limited to 'script/archiver/default.nix') diff --git a/script/archiver/default.nix b/script/archiver/default.nix new file mode 100644 index 0000000..4a464e0 --- /dev/null +++ b/script/archiver/default.nix @@ -0,0 +1,15 @@ +{ pkgs ? import { } }: with pkgs; + +stdenv.mkDerivation { + name = "oeuf-archiver"; + src = ./.; + + buildInputs = [ bash rclone oeuf-bundleparquet ]; + nativeBuildInputs = [ makeWrapper ]; + installPhase = '' + mkdir -p $out/bin + cp oeuf-archiver.sh $out/bin/oeuf-archiver + wrapProgram $out/bin/oeuf-archiver \ + --prefix PATH : ${lib.makeBinPath [ bash rclone oeuf-bundleparquet ]} + ''; +} -- cgit v1.2.3