summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/common/nixpkgs.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/common/nixpkgs.nix b/modules/common/nixpkgs.nix
index 36ebbb075..486cf0207 100644
--- a/modules/common/nixpkgs.nix
+++ b/modules/common/nixpkgs.nix
@@ -10,7 +10,16 @@ with lib;
};
nixpkgs.rev = mkOption {
type = types.str;
+ default = "origin/master";
description = "Revision of the remote repository.";
};
+ nixpkgs.dirty = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ If nixpkgs.url is a local path, then use that as it is.
+ TODO this break if URL is not a local path.
+ '';
+ };
};
}