Created
November 30, 2016 04:39
-
-
Save cleverca22/51853ca303d7e222ec1fcd6f43adaf68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/nixos/modules/misc/nixpkgs.nix b/nixos/modules/misc/nixpkgs.nix | |
index 7d50b80..12cf6cf 100644 | |
--- a/nixos/modules/misc/nixpkgs.nix | |
+++ b/nixos/modules/misc/nixpkgs.nix | |
@@ -74,13 +74,18 @@ in | |
''; | |
}; | |
+ nixpkgs.platform = mkOption { | |
+ default = null; | |
+ description = "TODO"; | |
+ }; | |
+ | |
}; | |
config = { | |
_module.args.pkgs = import ../../.. { | |
system = config.nixpkgs.system; | |
- inherit (config.nixpkgs) config; | |
+ inherit (config.nixpkgs) config platform; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment