2
1
Fork 0
quickshell-docs/flake.nix

30 lines
721 B
Nix
Raw Permalink Normal View History

2024-03-09 14:26:27 +00:00
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
quickshell = {
url = "git+https://git.outfoxxed.me/quickshell/quickshell";
2024-03-09 14:26:27 +00:00
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, quickshell }: let
forEachSystem = fn: nixpkgs.lib.genAttrs
[ "x86_64-linux" "aarch64-linux" ]
(system: fn system nixpkgs.legacyPackages.${system});
in {
packages = forEachSystem (system: pkgs: rec {
quickshell-docs = import ./package.nix {
inherit pkgs;
srcpath = "${quickshell}/src";
};
quickshell-types = pkgs.callPackage ./types.nix {
srcpath = "${quickshell}/src";
};
2024-03-09 14:26:27 +00:00
default = quickshell-docs;
});
};
}