mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nix/devshell: pin fourmolu 0.17.0.0
This commit is contained in:
parent
66885d447e
commit
30bf52a283
2 changed files with 24 additions and 3 deletions
|
|
@ -2,21 +2,30 @@
|
|||
# This is the non flake shell that just gets the basics of flora so I can have hls support outside of docker
|
||||
#
|
||||
let
|
||||
source = import ../sources.nix;
|
||||
sources = import ../sources.nix;
|
||||
in
|
||||
{pkgs ? import source.nixpkgs-unstable {}}:
|
||||
{pkgs ? import sources.nixpkgs-unstable {}}:
|
||||
pkgs.mkShell (let
|
||||
libs = with pkgs; [
|
||||
zlib
|
||||
libpq
|
||||
libsodium
|
||||
];
|
||||
|
||||
fourmolu = let
|
||||
pkgs = import sources.fourmolu-pin {};
|
||||
in
|
||||
with pkgs; let
|
||||
hlib = haskell.lib;
|
||||
fourmolu = haskell.packages.ghc910.callHackage "fourmolu" "0.17.0.0" {};
|
||||
in
|
||||
hlib.dontCheck (hlib.doJailbreak fourmolu);
|
||||
in {
|
||||
name = "flora";
|
||||
packages = with pkgs;
|
||||
[
|
||||
haskellPackages.postgresql-migration
|
||||
haskellPackages.fourmolu
|
||||
fourmolu
|
||||
haskellPackages.hlint
|
||||
haskellPackages.apply-refact
|
||||
haskellPackages.ghcid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue