Skip to content

Commit

Permalink
Update .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Anderssorby committed May 6, 2021
1 parent 538576d commit caad0ba
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -33,3 +33,4 @@ grin/.end-to-end-test/
.ghc.environment.*
hie.yaml
*.lock
result
33 changes: 17 additions & 16 deletions flake.nix
Expand Up @@ -9,21 +9,21 @@

outputs = { self, nixpkgs, flake-utils, haskellNix }:
flake-utils.lib.eachDefaultSystem (system:
let
overlays = [ haskellNix.overlay
(final: prev: {
# This overlay adds our project to pkgs
grinProject =
final.haskell-nix.project' {
src = ./.;
compiler-nix-name = "ghc8104";
};
})
];
pkgs = import nixpkgs { inherit system overlays; };
flake = pkgs.grinProject.flake {};
packageName = "grin";
in flake // {
let
overlays = [ haskellNix.overlay
(final: prev: {
# This overlay adds our project to pkgs
grinProject =
final.haskell-nix.project' {
src = ./.;
compiler-nix-name = "ghc8104";
};
})
];
pkgs = import nixpkgs { inherit system overlays; };
flake = pkgs.grinProject.flake {};
packageName = "grin";
in flake // {
# Built by `nix build .`
defaultPackage = flake.packages."grin:exe:grin";

Expand All @@ -36,5 +36,6 @@
haskell-language-server = "latest";
};
};
});
}
);
}

0 comments on commit caad0ba

Please sign in to comment.