nix: build improvements (#5952)

* scripts: allow using existing variable values in generateVersion.sh

* nix: populate versioning variables

* nix: remove unused meson input

* nix: remove unnecessary hyprland-protocols dependency

* Nix: remove nixConfig from flake

It's more annoying than helpful.

* CI/Nix: fix PR build failure

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
This commit is contained in:
André Silva 2024-05-10 23:51:53 +01:00 committed by GitHub
parent 6e594e4416
commit a8ab1b1679
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 12 additions and 32 deletions

View file

@ -74,9 +74,6 @@
# hyprland-extras
xdg-desktop-portal-hyprland
# dependencies
hyprland-protocols
;
});
@ -97,9 +94,4 @@
nixosModules.default = import ./nix/module.nix inputs;
homeManagerModules.default = import ./nix/hm-module.nix self;
};
nixConfig = {
extra-substituters = ["https://hyprland.cachix.org"];
extra-trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
}