flake: unbreak nix flake check

This commit is contained in:
Guanran Wang 2024-07-12 07:59:21 +08:00
parent 252925cb55
commit fa8108f522
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
3 changed files with 20 additions and 22 deletions

View file

@ -144,7 +144,7 @@
checks = {formatting = treefmtEval.config.build.check inputs.self;};
### nix {run,shell,build}
packages = import ./pkgs pkgs;
legacyPackages = import ./pkgs pkgs;
### nix develop
devShells.default = pkgs.mkShell {

View file

@ -30,8 +30,7 @@
'';
home.packages =
(
with pkgs; [
(with pkgs; [
amberol
dconf-editor
file-roller
@ -48,9 +47,8 @@
})
mumble
osu-lazer-bin
]
)
++ (with inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.scripts; [
])
++ (with inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.scripts; [
lofi
]);

View file

@ -10,7 +10,7 @@ in {
options.services.pixivfe = {
enable = lib.mkEnableOption "PixivFE, a privacy respecting frontend for Pixiv";
package = lib.mkPackageOption inputs.self.packages.${pkgs.stdenv.hostPlatform.system} "pixivfe" {};
package = lib.mkPackageOption inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system} "pixivfe" {};
openFirewall = lib.mkEnableOption "open ports in the firewall needed for the daemon to function";