summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-02-14 23:09:07 +0100
committerRobert Hensing <robert@roberthensing.nl>2022-02-14 23:09:07 +0100
commit2a1aaaa410c07b8e195e30c457cc20b83f0c60a9 (patch)
tree13e25311e180477d4b6867fc47cb62e65e3f3d87
downloadnixpkgs-origin/default-parameters.tar.gz
default-parameters: initial commitorigin/default-parameters
-rw-r--r--README.md6
-rw-r--r--flake.nix15
2 files changed, 21 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 000000000000..3e4d74e8ed88
--- /dev/null
+++ b/README.md
@@ -0,0 +1,6 @@
+
+# `nixpkgs/default-parameters`
+
+The purpose of this branch is to provide defaults for the non-`system` Nixpkgs inputs.
+
+This should be moved to separate repo.
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 000000000000..73ab9c715449
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,15 @@
+{
+ description = "Default values for the Nixpkgs parameters, overridable with follows";
+
+ outputs = { self }: {
+ lib.pkgsParameters = {
+ # buildSystem: Where the derivations will be built; the `system` parameters of a derivation.
+ # host system: Where a derivation's outputs can be executed.
+ # buildSystem = null: same as host system; non-cross compilation.
+ buildSystem = null;
+
+ config = { };
+ overlays = [ ];
+ };
+ };
+}