1
0
Fork 0
forked from DGNum/lab-infra
lab-infra/lib/colmena/default.nix
2024-10-12 00:20:58 +02:00

11 lines
310 B
Nix

# Copyright: Jade Lovelace <lix@jade.fyi> 2024
{ colmena, runCommandNoCC }:
runCommandNoCC "colmena-wrapper" { env.colmena = "${colmena}/bin/colmena"; } ''
mkdir -p $out
ln -s ${colmena}/share $out/share
mkdir $out/bin
substituteAll ${./wrapper.sh.in} $out/bin/colmena
chmod +x $out/bin/colmena
''