13 lines
474 B
Nix
13 lines
474 B
Nix
{
|
|
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, etherlab, ... }:
|
|
flake-utils.lib.eachDefaultSystem (system: {
|
|
packages.ec-controller = (import ./default.nix) { ethercat = etherlab.ethercat; };
|
|
defaultPackage.default = (import ./default.nix) { ethercat = etherlab.ethercat; };
|
|
});
|
|
}
|