diff options
author | aszlig <aszlig@nix.build> | 2018-02-02 13:00:55 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-02-02 13:00:55 +0100 |
commit | 46698f1b9b3a323231e7058f866d088bd605531b (patch) | |
tree | 18e0b62ad19c88923ae0fa1e32678e38f0d3f604 /tests/make-test.nix | |
parent | 7c00466354e674c2ec7f30f1f79f9b6f8041f090 (diff) |
pkgs/build-sandbox: Zero-pad minor Nix version
In order to do integer comparisons on the Nix version, we need to zero-pad the minor version, so that we always have two digits. Since the change of Nix version 1.12 to 2.0 the minor version no longer has two digits, so we get 20 instead of 112 and when compared the former is smaller than the latter but it has to be the opposite. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'tests/make-test.nix')
0 files changed, 0 insertions, 0 deletions