diff options
-rw-r--r-- | K_belwagen/Makefile (renamed from Kübelwagen/Makefile) | 0 | ||||
-rwxr-xr-x | K_belwagen/alarm (renamed from Kübelwagen/alarm) | 0 | ||||
-rw-r--r-- | K_belwagen/default.nix | 25 | ||||
-rw-r--r-- | K_belwagen/index.c (renamed from Kübelwagen/index.c) | 0 | ||||
-rwxr-xr-x | K_belwagen/playmobil (renamed from Kübelwagen/playmobil) | 0 | ||||
-rw-r--r-- | K_belwagen/sin.js (renamed from Kübelwagen/sin.js) | 0 |
6 files changed, 25 insertions, 0 deletions
diff --git a/Kübelwagen/Makefile b/K_belwagen/Makefile index 9be84e13..9be84e13 100644 --- a/Kübelwagen/Makefile +++ b/K_belwagen/Makefile diff --git a/Kübelwagen/alarm b/K_belwagen/alarm index a117c433..a117c433 100755 --- a/Kübelwagen/alarm +++ b/K_belwagen/alarm diff --git a/K_belwagen/default.nix b/K_belwagen/default.nix new file mode 100644 index 00000000..c284ac86 --- /dev/null +++ b/K_belwagen/default.nix @@ -0,0 +1,25 @@ +{ pkgs ? import <nixpkgs> {} }: + +# TODO check if system has jack2 installed + +pkgs.stdenv.mkDerivation { + name = "K_belwagen-1"; + + src = ./.; + + buildInputs = with pkgs; [ + coreutils + jack2 + pkgconfig + ]; + + installPhase = '' + mkdir -p $out/bin $out/lib + cp alarm $out/bin + cp a.out $out/lib + sed -i ' + s:^\(jackd\|trap\|make\|cd\)\>:#&: + s:\./a\.out:'$out/lib/a.out': + ' $out/bin/alarm + ''; +} diff --git a/Kübelwagen/index.c b/K_belwagen/index.c index 9a15c7c3..9a15c7c3 100644 --- a/Kübelwagen/index.c +++ b/K_belwagen/index.c diff --git a/Kübelwagen/playmobil b/K_belwagen/playmobil index 51ed70d6..51ed70d6 100755 --- a/Kübelwagen/playmobil +++ b/K_belwagen/playmobil diff --git a/Kübelwagen/sin.js b/K_belwagen/sin.js index 0f472715..0f472715 100644 --- a/Kübelwagen/sin.js +++ b/K_belwagen/sin.js |