sane-scripts: port sane-sync-from-servo to nix-shell
This commit is contained in:
parent
855a66499f
commit
05cf5e376a
|
@ -276,6 +276,11 @@ let
|
||||||
src = ./src;
|
src = ./src;
|
||||||
pkgs = [ "coreutils-full" "ifuse" "rsync" ];
|
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
|
in
|
||||||
symlinkJoin {
|
symlinkJoin {
|
||||||
|
|
|
@ -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
|
set -ex
|
||||||
sane-mount-servo
|
sane-mount-servo
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user