1
0
Fork 0

Apply nix-rfc formatting to flake

main
Bill Ewanick 2025-03-02 15:05:33 -05:00
parent ba2e16d000
commit 23c65a00a8
1 changed files with 78 additions and 73 deletions

View File

@ -32,13 +32,15 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
}; };
outputs = { self, nixpkgs }: { outputs =
{ self, nixpkgs }:
{
devShell.x86_64-linux = devShell.x86_64-linux =
let let
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
ghc' = pkgs.haskell.packages.ghc928.ghcWithHoogle (self: with self; ghc' = pkgs.haskell.packages.ghc928.ghcWithHoogle (
[ self: with self; [
relude relude
split split
@ -69,13 +71,16 @@
''; '';
in in
pkgs.mkShell { pkgs.mkShell {
buildInputs = with pkgs.haskellPackages; [ buildInputs =
with pkgs.haskellPackages;
[
ghc' ghc'
haskell-language-server haskell-language-server
ghcid ghcid
hlint hlint
] ++ (with pkgs; [ ]
++ (with pkgs; [
kotlin kotlin
jdk23 jdk23
nixfmt-rfc-style nixfmt-rfc-style