forked from quickshell/quickshell
24 lines
587 B
Nix
24 lines
587 B
Nix
|
{
|
||
|
inputs = {
|
||
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs }: let
|
||
|
forEachSystem = fn: nixpkgs.lib.genAttrs
|
||
|
[ "x86_64-linux" "aarch64-linux" ]
|
||
|
(system: fn system nixpkgs.legacyPackages.${system});
|
||
|
in {
|
||
|
packages = forEachSystem (system: pkgs: rec {
|
||
|
quickshell = import ./package.nix { inherit pkgs; };
|
||
|
default = quickshell;
|
||
|
});
|
||
|
|
||
|
devShells = forEachSystem (system: pkgs: rec {
|
||
|
default = import ./shell.nix {
|
||
|
inherit pkgs;
|
||
|
inherit (self.packages.${system}) quickshell;
|
||
|
};
|
||
|
});
|
||
|
};
|
||
|
}
|