Skip to content

Commit

Permalink
Reformat flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
evenbrenden committed Nov 12, 2023
1 parent fbd6e8a commit 42cd35a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
unleash-client-haskell-core.url = "github:finn-no/unleash-client-haskell-core?ref=0.10.0";
};
outputs =
{ self, nixpkgs, flake-compat, flake-utils, unleash-client-haskell-core }:
outputs = { self, nixpkgs, flake-compat, flake-utils, unleash-client-haskell-core }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
Expand All @@ -19,17 +18,16 @@
(self: super: {
haskellPackages = super.haskellPackages.override {
overrides = self: super: {
unleash-client-haskell-core = pkgs.haskell.lib.dontCheck
unleash-client-haskell-core.defaultPackage.${system};
unleash-client-haskell-core =
pkgs.haskell.lib.dontCheck unleash-client-haskell-core.defaultPackage.${system};
};
};
})
];
};
unleash-client-haskell =
pkgs.haskellPackages.callCabal2nix "unleash-client-haskell" ./. { };
unleash-client-haskell = pkgs.haskellPackages.callCabal2nix "unleash-client-haskell" ./. { };
in {
defaultPackage = unleash-client-haskell; # nix build .?submodules=1
defaultPackage = unleash-client-haskell;
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
cabal-install
Expand Down

0 comments on commit 42cd35a

Please sign in to comment.