Fix flake

This commit is contained in:
2023-08-16 09:52:08 +03:00
parent 5745001064
commit 44f38a76cd
2 changed files with 132 additions and 5 deletions

View File

@@ -2,12 +2,11 @@
inputs = {
nixpkgs.url = "nixpkgs/nixos-23.05";
flake-utils.url = "github:numtide/flake-utils";
etherlab.url = "git+https://git.dripco.eu/nic/etherlab-nix";
};
outputs = { self, nixpkgs, flake-utils, ... }:
outputs = { self, nixpkgs, flake-utils, etherlab, ... }:
flake-utils.lib.eachDefaultSystem (system: {
packages.${system}.ec-controller.modules = [
./default.nix
];
packages.ec-controller = (import ./default.nix) { ethercat = etherlab.ethercat; };
defaultPackage.default = (import ./default.nix) { ethercat = etherlab.ethercat; };
});
}