fix(nix): nixpkgs input url should be unstable

This commit is contained in:
orxngc
2024-10-01 10:07:38 +03:00
parent 2bf7fb5989
commit 13905d34c4

View File

@@ -2,12 +2,11 @@
description = "A Bar/Panel for Hyprland with extensive customizability.";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
ags.url = "github:Aylur/ags";
};
outputs = inputs:
let
outputs = inputs: let
systems = [
"x86_64-linux"
"x86_64-darwin"
@@ -23,8 +22,7 @@
}
);
devShellFor =
system:
devShellFor = system:
inputs.nixpkgs.lib.genAttrs ["default"] (
_:
inputs.nixpkgs.legacyPackages.${system}.mkShell {
@@ -60,8 +58,7 @@
'';
}
);
in
{
in {
devShells = forEachSystem devShellFor;
overlay = final: prev: {
@@ -71,14 +68,11 @@
else inputs.self.packages.${prev.stdenv.system}.default;
};
packages = forEachSystem (
system:
let
system: let
pkgs = pkgsFor.${system};
in
{
in {
default = (pkgs.callPackage ./nix {inherit inputs;}).desktop.script;
}
);
};
}