Skip to content

Commit

Permalink
Put codd in pkgs/by-name
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabani committed Nov 10, 2024
1 parent f7af0ba commit b81969f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This was generated with cabal2nix but contains important modifications like jailbreaking haxl
# and disabling tests selectively, among a few other minor things.
# Don't just blindly replace it with something generated by cabal2nix.
{
lib,
haskell,
Expand All @@ -10,8 +13,8 @@ let

# Haxl has relatively tight version requirements and is thus marked as broken.
haxlJailbroken = haskell.lib.markUnbroken (haskell.lib.doJailbreak haskellPackages.haxl);
in

in
mkDerivation rec {
pname = "codd";

Expand Down
6 changes: 6 additions & 0 deletions pkgs/by-name/co/codd/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{ haskell, haskellPackages }:

let
generated = haskellPackages.callPackage ./generated.nix { };
in
haskell.lib.compose.justStaticExecutables generated
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6130,8 +6130,6 @@ with pkgs;
clangStdenv = if stdenv.cc.isClang then stdenv else lowPrio llvmPackages.stdenv;
libcxxStdenv = if stdenv.hostPlatform.isDarwin then stdenv else lowPrio llvmPackages.libcxxStdenv;

codd = haskell.lib.compose.justStaticExecutables (haskellPackages.callPackage ../development/tools/database/codd { });

comby = callPackage ../development/tools/comby {
ocamlPackages = ocaml-ng.ocamlPackages_4_14;
};
Expand Down

0 comments on commit b81969f

Please sign in to comment.