wip: 2024.08.16 14:21:25

This commit is contained in:
Daylin Morgan 2024-08-16 14:21:25 -05:00
parent 775b4ca6e7
commit 254f0536de
Signed by: daylin
GPG key ID: 950D13E9719334AD
3 changed files with 15 additions and 12 deletions

View file

@ -19,8 +19,9 @@
in
{
packages = forAllSystems (pkgs: rec {
default = pkgs.callPackage ./meta.nix {inherit tunnel;};
utils = pkgs.callPackage ./meta.nix { inherit tunnel; };
tunnel = pkgs.callPackage ./tunnel-go { };
default = utils;
});
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {

View file

@ -1,20 +1,19 @@
{
lib,
stdenvNoCC,
lib,
stdenvNoCC,
# packages
tunnel,
...
}:stdenvNoCC.mkDerivation (finalAttrs: {
# packages
tunnel,
...
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "meta";
version = "unstable";
# src =
buildInputs = [
tunnel
];
buildInputs = [ tunnel ];
phases = [ "installPhase"];
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/bin

View file

@ -15,7 +15,10 @@ buildGoModule rec {
src = cleanSource ./.;
vendorHash = "sha256-PwZJMEVaPHqZs7bM+9XLxVA36GfV3EN6bja86hkfO90=";
nativeBuildInputs = [ installShellFiles makeWrapper ];
nativeBuildInputs = [
installShellFiles
makeWrapper
];
postInstall = ''
installShellCompletion --cmd ${pname} \