mirror of
https://github.com/hyprspace/hyprspace.git
synced 2026-09-12 19:51:07 +05:00
* meta: apply follows to ndg
* flake.lock: Update
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569?narHash=sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98%3D' (2025-06-08)
→ 'github:hercules-ci/flake-parts/3107b77cd68437b9a76194f0f7f9c55f2329ca5b?narHash=sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA%3D' (2026-04-01)
• Updated input 'hercules-ci-effects':
'github:max-privatevoid/hercules-ci-effects/b8127446a483cfd91495037e343b592662033188?narHash=sha256-xlxgYZ0eCnr9ikQuM5VuD8rUjLdbGzSKgF2EoRKDn/8%3D' (2025-07-01)
→ 'github:max-privatevoid/hercules-ci-effects/f3a32947c119cfe0f0130ad91b37028a3dae22d1?narHash=sha256-3A2B8k6YCuzt5pT/CQEltUghtE6heSlk2tMYkg/fUWI%3D' (2026-04-15)
• Updated input 'ndg/nixpkgs':
'https://releases.nixos.org/nixos/unstable/nixos-26.05pre972949.6201e203d095/nixexprs.tar.xz?lastModified=1775036866&narHash=sha256-ByAX1LkhCwZ94%2BKnFAmnJSMAvui7kgCxjHgUHsWAbfI%3D&rev=6201e203d09599479a3b3450ed24fa81537ebc4e' (2026-04-01)
→ follows 'nixpkgs'
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/30e2e2857ba47844aa71991daa6ed1fc678bcbb7?narHash=sha256-krGXKxvkBhnrSC/kGBmg5MyupUUT5R6IBCLEzx9jhMM%3D' (2025-06-27)
→ 'github:NixOS/nixpkgs/4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9?narHash=sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM%3D' (2026-04-14)
* go mod tidy
* go-libp2p: 0.42.0 -> 0.48.0
* go-libp2p-kad-dht: 0.33.1 -> 0.39.0
* dev: use nixfmt
* dev: reformat
* update vendorHash
79 lines
2.0 KiB
Nix
79 lines
2.0 KiB
Nix
{
|
|
description = "Hyprspace";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-parts = {
|
|
url = "github:hercules-ci/flake-parts";
|
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
};
|
|
hercules-ci-effects = {
|
|
url = "github:max-privatevoid/hercules-ci-effects/pr/skip-if-exists";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
flake-parts.follows = "flake-parts";
|
|
};
|
|
};
|
|
ndg = {
|
|
url = "github:feel-co/ndg";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
inputs@{ flake-parts, ... }:
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
systems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
"aarch64-darwin"
|
|
"x86_64-darwin"
|
|
];
|
|
herculesCI.ciSystems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
];
|
|
flake =
|
|
{ config, ... }:
|
|
{
|
|
nixosModules = {
|
|
default = config.nixosModules.hyprspace;
|
|
hyprspace =
|
|
{ lib, pkgs, ... }:
|
|
{
|
|
imports = [ ./nixos ];
|
|
services.hyprspace.package = lib.mkOptionDefault inputs.self.packages.${pkgs.system}.default;
|
|
};
|
|
};
|
|
};
|
|
|
|
imports = [
|
|
inputs.hercules-ci-effects.flakeModule
|
|
./dev
|
|
];
|
|
|
|
perSystem =
|
|
{
|
|
config,
|
|
inputs',
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
packages = {
|
|
default = config.packages.hyprspace;
|
|
hyprspace = pkgs.callPackage ./package.nix {
|
|
generateSchemasProgram = config.apps.dev-generate-schemas.program;
|
|
};
|
|
docs = pkgs.callPackage ./docs/package.nix {
|
|
hyprspace = config.packages.default;
|
|
inherit (inputs'.ndg.packages) ndg;
|
|
};
|
|
vendor = pkgs.callPackage ./dev/vendor.nix {
|
|
generateSchemasProgram = config.apps.dev-generate-schemas.program;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|