diff options
| author | Tom Harley | 2021-10-22 12:53:27 +0100 |
|---|---|---|
| committer | Tom Harley | 2021-10-22 12:53:27 +0100 |
| commit | 7ee7bc4c7a32fcc7c45a80d9dc122a4e6d31b2df (patch) | |
| tree | a54180b4e3e8dae6e69169733da8597299c7684a /default.nix | |
| parent | Add Path of Building (diff) | |
| download | magpkgs-7ee7bc4c7a32fcc7c45a80d9dc122a4e6d31b2df.tar.gz magpkgs-7ee7bc4c7a32fcc7c45a80d9dc122a4e6d31b2df.zip | |
Update PoB version
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/default.nix b/default.nix index 2b83c02..19481c7 100644 --- a/default.nix +++ b/default.nix @@ -1,12 +1,19 @@ let nixpkgs = import <nixpkgs> {}; in -{ callPackageWith ? nixpkgs.lib.callPackageWith +{ makeOverridable ? nixpkgs.lib.makeOverridable }: let magpkgs = rec { + + callPackageWith = pkgs: fn: args: + (import fn) (pkgs // args); + callPackage = callPackageWith (nixpkgs // magpkgs); + stdenv = (callPackage ./stdenv.nix {}) // nixpkgs.stdenv; + fetch = callPackage ./fetch.nix {}; + path-of-building = callPackage ./path-of-building {}; minion = callPackage ./minion {}; |
