diff options
| author | Tom Harley | 2020-12-06 14:14:30 +0000 |
|---|---|---|
| committer | Tom Harley | 2020-12-06 14:14:30 +0000 |
| commit | 66d0859fe359fd6c9bb8f71163090d0751b99006 (patch) | |
| tree | 4dacbdf6579640a00f6349d9b20d18fa2453e3d0 /default.nix | |
| parent | Rewrite to treat as own package repo (diff) | |
| download | magpkgs-66d0859fe359fd6c9bb8f71163090d0751b99006.tar.gz magpkgs-66d0859fe359fd6c9bb8f71163090d0751b99006.zip | |
Simplify callPackage
The callPackage used by nixpkgs is much more complicated than is necessary for a simple package repo.
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/default.nix b/default.nix index 676dc4b..62151ca 100644 --- a/default.nix +++ b/default.nix @@ -5,7 +5,7 @@ let nixpkgs = import <nixpkgs> {}; in let solvers = rec { - callPackage = callPackageWith (nixpkgs // solvers); + callPackage = path: args: import path (nixpkgs // solvers // args); minion = callPackage ./minion {}; savilerow = callPackage ./savilerow {}; |
