Add symlinks
This commit is contained in:
@@ -4,6 +4,11 @@ let
|
||||
inherit (builtins) filter map pathExists listToAttrs;
|
||||
linuxcncWithEC = pkgs.linuxcnc.overrideAttrs (oldAttrs: {
|
||||
buildInputs = oldAttrs.buildInputs ++ [ pkgs.linuxcnc-ethercat pkgs.hal-cia402 ];
|
||||
postInstall = oldAttrs.postInstall + ''
|
||||
ln -s ${pkgs.linuxcnc-ethercat}/bin/* $out/bin/
|
||||
ln -s ${pkgs.linuxcnc-ethercat}/lib/linuxcnc/modules/* $out/lib/linuxcnc/modules/
|
||||
ln -s ${pkgs.linuxcnc-ethercat}/share/linuxcnc-ethercat $out/share/
|
||||
'';
|
||||
});
|
||||
linuxcncEnv = pkgs.buildEnv {
|
||||
name = "linuxcnc-env";
|
||||
|
||||
Reference in New Issue
Block a user