diff options
author | Rutger Broekhoff | 2024-05-02 20:27:40 +0200 |
---|---|---|
committer | Rutger Broekhoff | 2024-05-02 20:27:40 +0200 |
commit | 17a3ea880402338420699e03bcb24181e4ff3924 (patch) | |
tree | da666ef91e0b60d20aa0b01529644c136fd1f4ab /script/synckv6/default.nix | |
download | oeuf-17a3ea880402338420699e03bcb24181e4ff3924.tar.gz oeuf-17a3ea880402338420699e03bcb24181e4ff3924.zip |
Initial commit
Based on dc4ba6a
Diffstat (limited to 'script/synckv6/default.nix')
-rw-r--r-- | script/synckv6/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/script/synckv6/default.nix b/script/synckv6/default.nix new file mode 100644 index 0000000..95a9331 --- /dev/null +++ b/script/synckv6/default.nix | |||
@@ -0,0 +1,15 @@ | |||
1 | { pkgs ? import <nixpkgs> { } }: with pkgs; | ||
2 | |||
3 | stdenv.mkDerivation { | ||
4 | name = "oeuf-synckv6"; | ||
5 | src = ./.; | ||
6 | |||
7 | buildInputs = [ bash rclone ]; | ||
8 | nativeBuildInputs = [ makeWrapper ]; | ||
9 | installPhase = '' | ||
10 | mkdir -p $out/bin | ||
11 | cp oeuf-synckv6.sh $out/bin/oeuf-synckv6 | ||
12 | wrapProgram $out/bin/oeuf-synckv6 \ | ||
13 | --prefix PATH : ${lib.makeBinPath [ bash rclone ]} | ||
14 | ''; | ||
15 | } | ||