14 lines
362 B
Nix
14 lines
362 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-23.05";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
outputs = { self, nixpkgs, flake-utils, ... }:
|
|
let
|
|
kernel = nixpkgs.linuxPackages_latest;
|
|
in
|
|
flake-utils.lib.eachDefaultSystem (system: {
|
|
packages.${system}.ethercat = (import ./ethercat.nix) { inherit kernel; };
|
|
});
|
|
}
|