quickshell-web/flake.nix

25 lines
658 B
Nix
Raw Normal View History

{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
2024-11-09 09:09:07 +00:00
quickshell-docs = {
url = "git+https://git.outfoxxed.me/quickshell/quickshell-docs";
inputs.nixpkgs.follows = "nixpkgs";
};
};
2024-11-09 09:09:07 +00:00
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 {
2024-11-09 09:09:07 +00:00
quickshell-web = pkgs.callPackage ./default.nix {
quickshell-types = quickshell-docs.packages.${system}.quickshell-types;
};
default = quickshell-web;
});
};
}