use the correct name

This commit is contained in:
Daylin Morgan 2024-01-26 00:07:01 -06:00
parent b38eb47b44
commit b09816b7b7
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -12,20 +12,22 @@
supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"]; supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
forAllSystems = f: genAttrs supportedSystems (system: f nixpkgs.legacyPackages.${system}); forAllSystems = f: genAttrs supportedSystems (system: f nixpkgs.legacyPackages.${system});
in { in {
devShells = forAllSystems (pkgs:{ devShells = forAllSystems (pkgs: {
default = pkgs.mkShell { default = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
nim nim
nimble nimble
]; ];
};}); };
packages = forAllSystems (pkgs: { });
nixgraph = pkgs.buildNimPackage { packages = forAllSystems (
pkgs: {
hyprman = pkgs.buildNimPackage {
pname = "hyprman"; pname = "hyprman";
version = "2023.1001"; version = "2023.1001";
src =./.; src = ./.;
}; };
default = self.packages.${pkgs.system}.nixgraph; default = self.packages.${pkgs.system}.hyprman;
} }
); );
}; };