use the correct name
This commit is contained in:
parent
b38eb47b44
commit
b09816b7b7
1 changed files with 11 additions and 9 deletions
20
flake.nix
20
flake.nix
|
@ -12,21 +12,23 @@
|
||||||
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 {
|
|
||||||
pname = "hyprman";
|
|
||||||
version = "2023.1001";
|
|
||||||
src =./.;
|
|
||||||
};
|
};
|
||||||
default = self.packages.${pkgs.system}.nixgraph;
|
});
|
||||||
|
packages = forAllSystems (
|
||||||
|
pkgs: {
|
||||||
|
hyprman = pkgs.buildNimPackage {
|
||||||
|
pname = "hyprman";
|
||||||
|
version = "2023.1001";
|
||||||
|
src = ./.;
|
||||||
|
};
|
||||||
|
default = self.packages.${pkgs.system}.hyprman;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue