fix uem build
This commit is contained in:
parent
e887f0e3d4
commit
02933bf1d2
1 changed files with 3 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
owner = "shen390s";
|
owner = "shen390s";
|
||||||
repo = "uem";
|
repo = "uem";
|
||||||
rev = "develop";
|
rev = "develop";
|
||||||
hash = "sha256-WLQak+5dbD4Zo3EgnW5YVhj5tNPJlkXYdd4lNLzRlq0=";
|
hash = "sha256-+r7pqow/JHH7i3+2Q2KHldErfigm6nnImGtpsdCWfaQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
|
|
@ -49,13 +49,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
set +e
|
set -e
|
||||||
set -x
|
|
||||||
cat >$ROSWELL_HOME/init.lisp <<EOF
|
cat >$ROSWELL_HOME/init.lisp <<EOF
|
||||||
(ros:ensure-asdf)
|
(ros:ensure-asdf)
|
||||||
(push (uiop:ensure-directory-pathname "$src/") asdf:*central-registry*)
|
(push (uiop:ensure-directory-pathname "$src/") asdf:*central-registry*)
|
||||||
EOF
|
EOF
|
||||||
cat $ROSWELL_HOME/init.lisp
|
|
||||||
cp -Rf $src/roswell .
|
cp -Rf $src/roswell .
|
||||||
ros build roswell/uem.ros
|
ros build roswell/uem.ros
|
||||||
'';
|
'';
|
||||||
|
|
@ -63,5 +61,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp roswell/uem $out/bin
|
cp roswell/uem $out/bin
|
||||||
|
cp -Rf $src/modules $out
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue