summaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-01 09:46:36 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-01 15:32:46 +0100
commitea152cdf66aaab165178c4fcfa575fc4b898bc44 (patch)
treeb7e3535fb0d96bfee33db92f72cb159cdc3e8c5e /default.nix
parent6d2a33aad5ad7c13c432322c4201e5004abfeb0b (diff)
generate feed from repositories
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/default.nix b/default.nix
index c0a928f..8e9b004 100644
--- a/default.nix
+++ b/default.nix
@@ -2,7 +2,6 @@
let
haskellPackages = pkgs.haskellPackages.override {
overrides = self: super: {
- atom-conduit = pkgs.haskell.lib.dontCheck (pkgs.haskell.lib.appendPatch super.atom-conduit ./atom-conduit.patch);
feed-nomath-org = self.callCabal2nix "feed-nomath-org" ./. { };
};
};
@@ -12,7 +11,6 @@ rec {
shell = haskellPackages.shellFor {
packages = _: [
feed-nomath-org
- haskellPackages.atom-conduit
];
buildInputs = [
haskellPackages.cabal2nix
@@ -21,5 +19,10 @@ rec {
];
withHoogle = true;
withHaddock = true;
+ shellHook = ''
+ REPOSITORIES=${pkgs.lib.concatStringsSep ":" [
+ "../feed-nomath-org"
+ ]}; export REPOSITORIES
+ '';
};
}