Skip to content

Commit

Permalink
REMOVE ME Remove devtools
Browse files Browse the repository at this point in the history
Just to check whether it's bringing in all the dependencies and using up
all the space in CI.
  • Loading branch information
RaoulHC committed Mar 6, 2024
1 parent ae3a857 commit ed8455a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
# souffle > 2.3
nixpkgs-souffle.url = "github:nixos/nixpkgs/a74a4a2f324fb54637a9e2597ef1fdca6ad869c8";
flake-utils.url = "github:numtide/flake-utils";
horizon-devtools.url =
"git+https://gitlab.horizon-haskell.net/package-sets/horizon-devtools";
horizon-platform.url =
"git+https://gitlab.horizon-haskell.net/package-sets/horizon-platform?ref=lts/ghc-9.6.x";
pre-commit-hooks = {
Expand All @@ -37,7 +35,7 @@
poolboy.url = "github:blackheaven/poolboy/v0.2.1.0";
poolboy.flake = false;
};
outputs = inputs@{ self, flake-utils, horizon-platform, horizon-devtools, nixpkgs, pre-commit-hooks, ... }:
outputs = inputs@{ self, flake-utils, horizon-platform, nixpkgs, pre-commit-hooks, ... }:
flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
let
pkgs = nixpkgs.legacyPackages.${system}.appendOverlays [
Expand All @@ -49,8 +47,7 @@
hsPkgs = horizon-platform.legacyPackages.${system}.extend (
import ./nix/hspkgs.nix { inherit src pkgs inputs; }
);
hsDev = horizon-devtools.legacyPackages.${system};
floraShell = import ./nix/shell-config.nix { inherit src pkgs hsPkgs hsDev pre-commit-check; };
floraShell = import ./nix/shell-config.nix { inherit src pkgs hsPkgs pre-commit-check; };
in
{
apps = rec {
Expand Down
3 changes: 1 addition & 2 deletions nix/shell-config.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ src, pkgs, hsPkgs, hsDev, pre-commit-check }: hsPkgs.shellFor {
{ src, pkgs, hsPkgs, pre-commit-check }: hsPkgs.shellFor {
packages = p: [ p.flora ];
nativeBuildInputs = [
# hsDev.haskell-language-server
hsPkgs.cabal-install
hsPkgs.postgresql-migration
pkgs.ghcid
Expand Down

0 comments on commit ed8455a

Please sign in to comment.