Fix??
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
lib = nixpkgs.lib;
|
||||
packagePaths = lib.mapAttrs (n: v: "${./packages}/${n}") (lib.filterAttrs (n: v: v == "directory" && (builtins.readDir "${./packages}/${n}") ? "default.nix") (builtins.readDir ./packages));
|
||||
in rec {
|
||||
packages = lib.genAttrs systems (system: lib.mapAttrs (n: v: lib.callPackageWith ((lib.recursiveUpdate packages.${system} nixpkgs.legacyPackages.${system}) // { inherit inputs; inherit system; etherlab = etherlab.packages.${system}; }) v {}) packagePaths);
|
||||
packages = lib.genAttrs systems (system: lib.mapAttrs (n: v: lib.callPackageWith ((lib.recursiveUpdate packages.${system} nixpkgs.legacyPackages.${system}) // { inherit inputs; inherit system; } // etherlab.packages.${system}) v {}) packagePaths);
|
||||
legacyPackages = packages;
|
||||
overlay = final: prev: (lib.mapAttrs (n: v: prev.callPackage v { }) packagePaths);
|
||||
nixosModules = { linuxcnc = import ./modules/linuxcnc.nix; };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, lib, pkgs, stdenv, linuxcnc-base, etherlab }:
|
||||
{ config, lib, pkgs, stdenv, linuxcnc-base, ethercat }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = with pkgs; [ which expat ];
|
||||
|
||||
buildInputs = [ linuxcnc-base etherlab.ethercat ];
|
||||
buildInputs = [ linuxcnc-base ethercat ];
|
||||
|
||||
installFlags = [ "DESTDIR=${placeholder "out"}" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user