mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-17 09:57:27 +03:00
Add pkgs to use nixpkgs-default easily (#602)
Currently if we want to use nixpkgs-default and nixpkgsAgs it is a bit painful. With this change: ``` nix-build -E 'let h = import ./. {}; in (import h.sources.nixpkgs-default h.nixpkgsArgs).haskell-nix.tool "hlint" "3.1"' ``` becomes ``` nix-build -E 'pkgs.haskell-nix.tool "hlint" "3.1"' ```
This commit is contained in:
parent
83c85a0f22
commit
6a0dd874be
@ -7,6 +7,7 @@ let haskellNix = rec {
|
||||
overlays = [ allOverlays.combined ];
|
||||
allOverlays = import ./overlays;
|
||||
nixpkgsArgs = { inherit config overlays; };
|
||||
pkgs = import sources.nixpkgs-default nixpkgsArgs;
|
||||
};
|
||||
|
||||
haskellNixV1 = haskellNix.nixpkgsArgs;
|
||||
|
Loading…
Reference in New Issue
Block a user