diff options
Diffstat (limited to 'users/grfn/owothia')
-rw-r--r-- | users/grfn/owothia/default.nix | 10 | ||||
-rw-r--r-- | users/grfn/owothia/pkg.nix | 16 |
2 files changed, 24 insertions, 2 deletions
diff --git a/users/grfn/owothia/default.nix b/users/grfn/owothia/default.nix index e10098ed943b..b70d0525c152 100644 --- a/users/grfn/owothia/default.nix +++ b/users/grfn/owothia/default.nix @@ -2,5 +2,11 @@ , pkgs ? depot.third_party.nixpkgs , ... }: -pkgs.haskellPackages.callCabal2nix "owothia" - (depot.third_party.gitignoreSource ./.) { } +let + basePkg = pkgs.haskellPackages.callPackage ./pkg.nix { }; +in + +pkgs.haskell.lib.overrideSrc basePkg { + src = depot.third_party.gitignoreSource ./.; + version = "canon"; +} diff --git a/users/grfn/owothia/pkg.nix b/users/grfn/owothia/pkg.nix new file mode 100644 index 000000000000..d0941a848958 --- /dev/null +++ b/users/grfn/owothia/pkg.nix @@ -0,0 +1,16 @@ +{ mkDerivation, base, bytestring, chatter, containers, envy +, irc-client, lens, lib, random, relude, text +}: +mkDerivation { + pname = "owothia"; + version = "0.0.1.0"; + src = ./.; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + base bytestring chatter containers envy irc-client lens random + relude text + ]; + license = "unknown"; + hydraPlatforms = lib.platforms.none; +} |