Skip to content

Commit

Permalink
Generate default.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
JBetz committed Apr 28, 2024
1 parent fc69301 commit f3a62ad
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ mkDerivation, aeson, base, bytestring, clap, containers, deepseq
, extra, hashable, hspec, http-types, lib, mtl, optparse-generic
, portaudio, PortMidi, stm, template-haskell, text, th-abstraction
, unix, wai, wai-websockets, warp, websockets
}:
mkDerivation {
pname = "ensemble";
version = "0.1.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base bytestring clap containers deepseq extra hashable mtl
optparse-generic portaudio PortMidi stm template-haskell text
th-abstraction unix
];
executableHaskellDepends = [
aeson base bytestring extra http-types optparse-generic text wai
wai-websockets warp websockets
];
testHaskellDepends = [ base clap hspec mtl ];
license = lib.licenses.mit;
}
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ in
pkgs.haskellPackages.ghc
pkgs.haskellPackages.hoogle
pkgs.haskellPackages.hlint
pkgs.cabal2nix
];
}

0 comments on commit f3a62ad

Please sign in to comment.