use the correct name
This commit is contained in:
parent
b38eb47b44
commit
b09816b7b7
1 changed files with 11 additions and 9 deletions
14
flake.nix
14
flake.nix
|
@ -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;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue