Files
etherlab-nix/flake.nix
2023-08-16 09:04:57 +03:00

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; };
}
);
}