forked from cachix/git-hooks.nix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b840cb8
commit 8f97647
Showing
9 changed files
with
177 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
let pkgs = import ./nix {}; in pkgs.packages | ||
let pkgs = import ./nix { }; in pkgs.packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
{ sources ? import ./sources.nix | ||
, system ? builtins.currentSystem | ||
}: | ||
|
||
let | ||
overlay = | ||
_: pkgs: | ||
{ | ||
inherit (pkgs) nixfmt niv ormolu nixpkgs-fmt nix-linter; | ||
cabal-fmt = pkgs.haskellPackages.cabal-fmt; | ||
hindent = pkgs.haskellPackages.callCabal2nix "hindent" sources.hindent {}; | ||
packages = pkgs.callPackages ./packages.nix {}; | ||
}; | ||
{ | ||
inherit (pkgs) nixfmt niv ormolu nixpkgs-fmt nix-linter; | ||
cabal-fmt = pkgs.haskellPackages.cabal-fmt; | ||
hindent = pkgs.haskellPackages.callCabal2nix "hindent" sources.hindent { }; | ||
packages = pkgs.callPackages ./packages.nix { }; | ||
}; | ||
in | ||
import sources.nixpkgs { | ||
overlays = [ overlay ]; | ||
config = {}; | ||
config = { }; | ||
inherit system; | ||
} |
Oops, something went wrong.