Fix cia402
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ config, lib, pkgs, stdenv, linuxcnc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
enableParalellBuilding = true;
|
||||
enableParallelBuilding = true;
|
||||
|
||||
pname = "hal-cia402";
|
||||
version = "e772757686";
|
||||
@@ -10,7 +10,7 @@ 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; [ ];
|
||||
@@ -19,6 +19,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
#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";
|
||||
platforms = platforms.linux;
|
||||
|
||||
Reference in New Issue
Block a user