mirror of
https://github.com/hyprspace/hyprspace.git
synced 2026-09-13 18:46:29 +05:00
38 lines
1007 B
Nix
38 lines
1007 B
Nix
{
|
|
description = "Hyprspace";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-parts = {
|
|
url = "github:hercules-ci/flake-parts";
|
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
};
|
|
process-compose-flake.url = "github:Platonic-Systems/process-compose-flake";
|
|
};
|
|
|
|
outputs = inputs@{ flake-parts, ... }:
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
|
|
flake.herculesCI.ciSystems = [ "x86_64-linux" "aarch64-linux" ];
|
|
imports = [
|
|
inputs.process-compose-flake.flakeModule
|
|
./dev/run.nix
|
|
];
|
|
|
|
perSystem = { config, pkgs, ... }: {
|
|
packages.default = pkgs.callPackage ./package.nix {};
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
packages = [
|
|
pkgs.go
|
|
config.packages.dev-run
|
|
];
|
|
|
|
shellHook = ''
|
|
export GOPATH="$PWD/.data/go";
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|