Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created November 30, 2016 04:39
Show Gist options
  • Save cleverca22/51853ca303d7e222ec1fcd6f43adaf68 to your computer and use it in GitHub Desktop.
Save cleverca22/51853ca303d7e222ec1fcd6f43adaf68 to your computer and use it in GitHub Desktop.
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