main
Daniel Barlow 2022-08-14 14:07:29 +00:00
parent 4c4bd9e997
commit 771d80c70d
2 changed files with 6 additions and 3 deletions

View File

@ -72,7 +72,10 @@ stdenv.mkDerivation {
export LUA_PATH="`lua -e 'print(package.path)'`" export LUA_PATH="`lua -e 'print(package.path)'`"
export LUA_CPATH="`lua -e 'print(package.cpath)'`" export LUA_CPATH="`lua -e 'print(package.cpath)'`"
mkdir -p $out/bin mkdir -p $out/bin
find . -name kiwmi -prune -o -type l -prune -o -print0 | cpio -0 -v --pass-through $out find . -name kiwmi -prune \
-o -type l -prune \
-o -name git -prune \
-o -print0 | cpio -0 -v --pass-through $out
substitute bin/eufonctl.sh $out/bin/eufonctl \ substitute bin/eufonctl.sh $out/bin/eufonctl \
--replace SOCAT=socat SOCAT=${socat}/bin/socat --replace SOCAT=socat SOCAT=${socat}/bin/socat
makeWrapper ${kiwmi}/bin/kiwmi $out/bin/eufon \ makeWrapper ${kiwmi}/bin/kiwmi $out/bin/eufon \

View File

@ -1,5 +1,5 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let eufon = pkgs.callPckage ./default.nix; in let eufon = pkgs.callPackage ./default.nix {}; in
{ {
systemd.services."eufon" = { systemd.services."eufon" = {
wants = [ wants = [
@ -52,7 +52,7 @@ let eufon = pkgs.callPckage ./default.nix; in
}; };
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git eufon
]; ];
boot.postBootCommands = lib.mkOrder (-1) '' boot.postBootCommands = lib.mkOrder (-1) ''