summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorstuebinm2025-01-06 02:49:16 +0100
committerstuebinm2025-01-06 02:52:17 +0100
commit3e0f7c24b962f332be771d3229dfb500f17cc91a (patch)
treeca238ec93fe5a84986a97701f43795394c7acfeb /default.nix
parentc363db95be7e2520e5c69c49733544fe98dff838 (diff)
git annex testremote in a nixos vm testHEADmain
i tried adding a 'loopback' mode to the specialremote itself, but that turned out to be too error-prone to really work, so for now running tests requires an sshd.
Diffstat (limited to '')
-rw-r--r--default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..a150f68
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,8 @@
+{ rustPlatform }:
+
+rustPlatform.buildRustPackage rec {
+ name = "git-annex-remote-remarkable2";
+ RUSTC_BOOTSTRAP = 1;
+ src = ./.;
+ cargoLock.lockFile = ./Cargo.lock;
+}