sane-scripts: port sane-sync-from-servo to nix-shell

This commit is contained in:
Colin 2023-06-07 07:21:36 +00:00
parent 855a66499f
commit 05cf5e376a
2 changed files with 7 additions and 1 deletions

View File

@ -276,6 +276,11 @@ let
src = ./src;
pkgs = [ "coreutils-full" "ifuse" "rsync" ];
};
sync-from-servo = static-nix-shell.mkBash {
pname = "sane-sync-from-servo";
src = ./src;
pkgs = [ "rsync" "sane-scripts.mount-servo" ];
};
};
in
symlinkJoin {

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p rsync -p sane-scripts.mount-servo
set -ex
sane-mount-servo