summaryrefslogtreecommitdiff
path: root/pack/cmdwave.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pack/cmdwave.nix')
-rw-r--r--pack/cmdwave.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/pack/cmdwave.nix b/pack/cmdwave.nix
deleted file mode 100644
index a26945c..0000000
--- a/pack/cmdwave.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ nixpkgs }:
-with nixpkgs;
-let
- ghc = pkgs.haskell.packages.ghc844.ghcWithPackages (hp: with hp; [
- hinotify
-
- protolude
- pulse-simple
- ]);
- entrypoint = "Cmdwave";
-in
-stdenv.mkDerivation rec {
- name = "cmdwave";
- version = "0";
- src = ../.;
- nativeBuildInputs = [
- ghc
- ];
- strictDeps = true;
- buildPhase = ''
- ${ghc}/bin/ghc \
- -iapex -ilore \
- -main-is ${entrypoint} --make apex/${entrypoint}.hs \
- -o bild/${name}
- '';
- installPhase = ''
- mkdir -p $out/bin
- cp bild/${name} $out/bin/${name}
- '';
-}