Skip to content

Commit

Permalink
Rename project
Browse files Browse the repository at this point in the history
  • Loading branch information
jezen committed Sep 30, 2024
1 parent f70c42f commit a45055b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
hl = pkgs.haskell.lib;
in
{
packages.yesod-subsite = pkgs.haskellPackages.yesod-subsite;
packages.default = pkgs.lib.trivial.pipe pkgs.haskellPackages.yesod-subsite
packages.loss-run-events = pkgs.haskellPackages.loss-run-events;
packages.default = pkgs.lib.trivial.pipe pkgs.haskellPackages.loss-run-events
[
hl.dontHaddock
hl.enableStaticLibraries
Expand All @@ -28,11 +28,11 @@
];

checks = {
inherit (pkgs.haskellPackages) yesod-subsite;
inherit (pkgs.haskellPackages) loss-run-events;
};

devShells.default = pkgs.haskellPackages.shellFor {
packages = p: [ p.yesod-subsite ];
packages = p: [ p.loss-run-events ];
buildInputs = with pkgs.haskellPackages; [
cabal-fmt
cabal-install
Expand All @@ -44,14 +44,14 @@
haskell = prev.haskell // {
# override for all compilers
packageOverrides = prev.lib.composeExtensions prev.haskell.packageOverrides (_: hprev: {
yesod-subsite =
loss-run-events =
let
haskellSourceFilter = prev.lib.sourceFilesBySuffices ./. [
".cabal"
".hs"
];
in
hprev.callCabal2nix "yesod-subsite" haskellSourceFilter { };
hprev.callCabal2nix "loss-run-events" haskellSourceFilter { };
});
};
};
Expand Down
10 changes: 5 additions & 5 deletions yesod-subsite.cabal → loss-run-events.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cabal-version: 2.2
name: yesod-subsite
name: loss-run-events
version: 0.1.0
build-type: Simple

Expand All @@ -24,7 +24,7 @@ library

default-language: Haskell2010

library yesod-subsite-example
library loss-run-events-example
exposed-modules:
Dev
ExampleApp
Expand All @@ -39,7 +39,7 @@ library yesod-subsite-example
, classy-prelude
, classy-prelude-yesod
, foreign-store
, yesod-subsite
, loss-run-events
, warp

ghc-options:
Expand All @@ -66,8 +66,8 @@ test-suite test
, fakedata >=1.0
, fast-logger
, hspec >=2.7.10
, yesod-subsite
, yesod-subsite-example
, loss-run-events
, loss-run-events-example
, yesod
, yesod-core >=1.6.20.2
, yesod-test
Expand Down

0 comments on commit a45055b

Please sign in to comment.