Compare commits

..

2 commits

Author SHA1 Message Date
5e489fb7c8 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:45:05 +01:00
a87738a2ff 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:45:05 +01:00

View file

@ -20,6 +20,7 @@ let
{
pname,
propagatedBuildInputs,
python ? python3,
...
}@args:
stdenvNoCC.mkDerivation (finalAttrs: {
@ -30,7 +31,7 @@ let
inherit src version; # not passed via function args, but can be overridden later via overrideAttrs
dontBuild = true;
dontConfigure = true;
buildInputs = [ python3 ];
buildInputs = [ python ]; # the python interpreter utilised by patchShebangs
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
@ -62,10 +63,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";