Skip to content

Instantly share code, notes, and snippets.

@DieracDelta
Created August 24, 2025 17:51
Show Gist options
  • Select an option

  • Save DieracDelta/5e080d9337c255ca801a50a782a4d3f6 to your computer and use it in GitHub Desktop.

Select an option

Save DieracDelta/5e080d9337c255ca801a50a782a4d3f6 to your computer and use it in GitHub Desktop.
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/master";
};
outputs =
{ self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
hp = pkgs.haskell.packages.ghc98.override {
overrides = self: super: {
haskell-task-runner = self.callCabal2nix "haskell-task-runner" ./. { };
};
};
in
{
devShells.${system}.default = hp.shellFor {
buildInputs = with hp; [
cabal-install
ghcid
haskell-language-server
hlint
implicit-hie
hsndfile
vector-fft
pkgs.libsndfile
pkgs.libsndfile.dev
pkgs.libsndfile
optparse-applicative
filepath
directory
vector
array
hsndfile-vector
hoogle
];
packages = haskpack: [
haskpack.haskell-task-runner
];
withHoogle = true;
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment