diff options
author | Robert Hensing <roberth@users.noreply.github.com> | 2022-10-24 13:22:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-24 13:22:42 +0200 |
commit | bc4ce318bf6aa52031ad891675c573ce31308c8d (patch) | |
tree | fde3afb99befe8b7cfa46ae90cab9536bf19cdf6 /lib/default.nix | |
parent | df9da891637929d52a8a189ea3399c1ee555ef51 (diff) | |
parent | ed71173841618bd4c69f40d07fb467ccabc5db0b (diff) |
Merge pull request #173949 from jacoblambda/fix-toInt-zero-padding
lib: add strings.toIntBase10 to parse zero-padded strings
Diffstat (limited to 'lib/default.nix')
-rw-r--r-- | lib/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix index 0c0e2d5e10217..8bb06954518b9 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -103,7 +103,7 @@ let getName getVersion nameFromURL enableFeature enableFeatureAs withFeature withFeatureAs fixedWidthString fixedWidthNumber isStorePath - toInt readPathsFromFile fileContents; + toInt toIntBase10 readPathsFromFile fileContents; inherit (self.stringsWithDeps) textClosureList textClosureMap noDepEntry fullDepEntry packEntry stringAfter; inherit (self.customisation) overrideDerivation makeOverridable |