replace "pkgs" arguments with individual packages
This commit is contained in:
parent
b32e181094
commit
428b2430ef
11 changed files with 35 additions and 39 deletions
|
@ -1,9 +1,8 @@
|
|||
{ pkgs ? import <nixpkgs> {},
|
||||
{ haskell, lib, stdenv,
|
||||
versions ? [ "8.10" "9.0" "9.2" "9.4" "9.6" "9.8" "9.10" "9.12" ],
|
||||
}:
|
||||
let
|
||||
inherit (builtins) attrValues replaceStrings;
|
||||
inherit (pkgs) lib stdenv haskell;
|
||||
|
||||
toPkg = version:
|
||||
"ghc" + replaceStrings ["."] [""] version;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue