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