Skip to content

Commit

Permalink
flake: package: add meta attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
spikespaz committed Sep 13, 2023
1 parent d267025 commit af3c6a8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
flake-utils,
flake-compat,
}:
let
inherit (nixpkgs) lib;
in
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = import nixpkgs {
Expand Down Expand Up @@ -74,6 +77,13 @@
passthru.generate-config = shell: final.runCommand "nix-your-shell-config" { } ''
${final.nix-your-shell}/bin/nix-your-shell ${shell} >> $out
'';

meta = {
homepage = "https://github.com/MercuryTechnologies/nix-your-shell";
license = lib.licenses.mit;
platforms = flake-utils.lib.defaultSystems;
mainProgram = "nix-your-shell";
};
};
}
);
Expand Down

0 comments on commit af3c6a8

Please sign in to comment.