nix package + small tweaks for release

This commit is contained in:
outfoxxed 2024-11-09 01:09:07 -08:00
parent 4546105f21
commit 48b954c410
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
8 changed files with 121 additions and 19 deletions

View file

@ -1,15 +1,23 @@
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
quickshell-docs = {
url = "git+https://git.outfoxxed.me/quickshell/quickshell-docs";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs }: let
outputs = { self, nixpkgs, quickshell-docs }: let
forEachSystem = fn: nixpkgs.lib.genAttrs
[ "x86_64-linux" "aarch64-linux" ]
(system: fn system nixpkgs.legacyPackages.${system});
in {
packages = forEachSystem (system: pkgs: rec {
quickshell-web = pkgs.callPackage ./default.nix {};
quickshell-web = pkgs.callPackage ./default.nix {
quickshell-types = quickshell-docs.packages.${system}.quickshell-types;
};
default = quickshell-web;
});
};