diff options
| author | mtgmonkey <mtgmonkey@nixos> | 2025-12-13 19:22:42 +0100 |
|---|---|---|
| committer | mtgmonkey <mtgmonkey@nixos> | 2025-12-13 19:22:42 +0100 |
| commit | e9b4e2d34af8f0ea4a54d8d093108cdfdc68757c (patch) | |
| tree | 125b11cc5e5d28c12298d1a1e95bdad706e67c5d /package.nix | |
| parent | 73985e298a407ecc161d65b6bf92d3fc535aa73a (diff) | |
Cabal; non-Nix support
Diffstat (limited to 'package.nix')
| -rw-r--r-- | package.nix | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/package.nix b/package.nix deleted file mode 100644 index 1b6f738..0000000 --- a/package.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ - haskellPackages, - lib, - stdenv, - ghcOptions, - haddockOptions, - ghcPackages, - ... -}: -stdenv.mkDerivation { - pname = "hs-game"; - version = "0.1.0"; - src = ./.; - nativeBuildInputs = [ - (haskellPackages.ghcWithPackages ghcPackages) - ]; - buildInputs = [ - ]; - configurePhase = '' - ''; - buildPhase = '' - touch Main - ghc ${ghcOptions} ./src/Game.hs -o ./Main - mkdir ./docs - haddock ${haddockOptions} - ''; - installPhase = '' - mkdir -p $out/bin - cp ./Main $out/bin/hs-game - cp ./docs $out/docs -r - ''; - - meta = { - homepage = "https://mtgmonkey.net"; - license = lib.licenses.bsd3; - mainProgram = "hs-game"; - platforms = ["x86_64-linux"]; - }; -} |
