Compare commits

...

3 Commits

Author SHA1 Message Date
26d56219c2 Paralell -> Parallel 2023-09-27 18:56:37 +03:00
3205f2d806 Clean up 2023-09-27 18:55:57 +03:00
b2a8cf8177 Fix cia402 2023-09-27 18:54:21 +03:00
3 changed files with 10 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
{ config, lib, pkgs, stdenv, linuxcnc }:
stdenv.mkDerivation rec {
enableParalellBuilding = true;
enableParallelBuilding = true;
pname = "hal-cia402";
version = "e772757686";
@@ -10,14 +10,19 @@ stdenv.mkDerivation rec {
src = pkgs.fetchgit {
url = "https://git.dripco.eu/nic/hal-cia402.git";
rev = "e772757686a0fbee476b3d03c060e5cc9ee90e27";
sha256 = "SjFkcNl/4AlsMeIw5Hg9Kp5mIIV9KFUYodXV6lAi3/A=";
sha256 = "qna8a1C/WXNudyRXxibTGai3D48nRWRyprlXZYM2rxg=";
};
nativeBuildInputs = with pkgs; [ ];
buildInputs = [ linuxcnc ];
#installFlags = [ "DESTDIR=${placeholder "out"}" ];
installPhase = ''
halcompile --compile cia402.comp
mkdir -p $out/lib/linuxcnc/modules/
cp cia402.so $out/lib/linuxcnc/modules/
'';
meta = with lib; {
description = "LinuxCNC CIA402 HAL component";

View File

@@ -1,7 +1,7 @@
{ config, lib, pkgs, stdenv, linuxcnc, etherlab }:
stdenv.mkDerivation rec {
enableParalellBuilding = true;
enableParallelBuilding = true;
pname = "linuxcnc-ethercat";
version = "5ad53da25b";

View File

@@ -22,7 +22,7 @@ let
in
stdenv.mkDerivation rec {
hardeningDisable = [ "all" ];
enableParalellBuilding = true;
enableParallelBuilding = true;
pname = "linuxcnc";
version = "2.9-git";
name = "${pname}-${version}";