forked from hacc/haccfiles
pkgs: pass nixpkgs config properly
see cee4094d91
for details of upstream changes
This commit is contained in:
parent
78ba4399a9
commit
1399f74e87
2 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@
|
||||||
"nix-hexchen": {
|
"nix-hexchen": {
|
||||||
"ref": "main",
|
"ref": "main",
|
||||||
"repo": "https://gitlab.com/hexchen/nixfiles.git",
|
"repo": "https://gitlab.com/hexchen/nixfiles.git",
|
||||||
"rev": "ea33a93da0bac59b757e7a059028526f47c2b852",
|
"rev": "5369d696f5381bf410408224fd8fa68480a96ff1",
|
||||||
"type": "git"
|
"type": "git"
|
||||||
},
|
},
|
||||||
"nixos-mailserver": {
|
"nixos-mailserver": {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ ... }:
|
{ config ? {}, system ? builtins.currentSystem, ... }@args:
|
||||||
|
|
||||||
let
|
let
|
||||||
sources = import ../nix/sources.nix;
|
sources = import ../nix/sources.nix;
|
||||||
pkgs = import sources.nixpkgs { config = { allowUnfree = true; }; };
|
pkgs = import sources.nixpkgs args;
|
||||||
|
|
||||||
callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);
|
callPackage = pkgs.lib.callPackageWith (pkgs // newpkgs);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue