Compare commits

..

2 commits

Author SHA1 Message Date
5acb380fc0 home/git: add alias for git tree-sync sync
I decided to implement this as a shell alias, to allow directly
referencing the package here instead of relying on it to be in path.
2026-02-27 23:36:23 +01:00
5a0ca84534 fc-scripts: more fine-grained packaging
It makes sense to put each individual script into its own derivation, as
some of the scripts require certain other dependencies that others
don't.
2026-02-27 23:35:25 +01:00

View file

@ -20,7 +20,6 @@ let
{
pname,
propagatedBuildInputs,
python ? python3,
...
}@args:
stdenvNoCC.mkDerivation (finalAttrs: {
@ -31,7 +30,7 @@ let
inherit src version; # not passed via function args, but can be overridden later via overrideAttrs
dontBuild = true;
dontConfigure = true;
buildInputs = [ python ]; # the python interpreter utilised by patchShebangs
buildInputs = [ python3 ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
@ -63,10 +62,10 @@ in
mosh-tunnel = mkFcScriptDrv {
pname = "mosh-tunnel";
propagatedBuildInputs = [
(python3.withPackages (ps: [ ps.asyncio-dgram ]))
mosh
openssh
];
python = python3.withPackages (ps: [ ps.asyncio-dgram ]);
};
mosh-dualstack-proxy = mkFcScriptDrv {
pname = "mosh-dualstack-proxy";