flakify more

This commit is contained in:
nek0 2022-09-16 16:10:51 +02:00
parent 2a91cb597a
commit 8b0713238a

View file

@ -4,7 +4,7 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
affection-src.url = "git+https://gitea.nek0.eu/nek0/affection";
mateamt-src.url = "git+https://gitea.nek0.eu/nek0/mateamt";
};
outputs = { self, nixpkgs, flake-utils, affection-src }:
@ -17,11 +17,11 @@
jailbreakUnbreak = pkg:
pkgs.haskell.lib.doJailbreak (pkg.overrideAttrs (_: { meta = { }; }));
packageName = "tracer-game";
packageName = "matebeamter";
in {
packages.${packageName} = # (ref:haskell-package-def)
haskellPackages.callCabal2nix packageName self rec {
affection = affection-src.defaultPackage.${system};
affection = mateamt-src.defaultPackage.${system};
};
defaultPackage = self.packages.${system}.${packageName};