Skip to content

Commit

Permalink
Update flake
Browse files Browse the repository at this point in the history
  • Loading branch information
The1Penguin committed Dec 21, 2024
1 parent 5b99136 commit 39be669
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 2 deletions.
57 changes: 56 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
wreq-effectful.url = "github:The1Penguin/wreq-effectful";
wreq-effectful.inputs.nixpkgs.follows = "nixpkgs";
};

nixConfig.allow-import-from-derivation = true; # cabal2nix uses IFD

outputs = { self, nixpkgs, flake-utils }:
outputs = { self, nixpkgs, flake-utils, wreq-effectful }:
let
ghcVer = "ghc96";
makeHaskellOverlay = overlay: final: prev: {
Expand Down Expand Up @@ -73,6 +75,7 @@
let hlib = prev.haskell.lib; in
{
mat = hprev.callCabal2nix "mat" ./. { };
wreq-effectful = wreq-effectful.packages."x86_64-linux".wreq-effectful;

# here's how to do hacks to the package set
# don't run the test suite
Expand Down

0 comments on commit 39be669

Please sign in to comment.