builtins.nixVersion: version 2.0 -> 2.3

Nixpkgs now has minimum required version 2.2, this allows us to
import it again.
This commit is contained in:
Richard Marko 2020-07-02 11:59:53 +02:00 committed by Anton Latukha
parent 7fae8fa962
commit 06edd4b8cf

View file

@ -140,7 +140,7 @@ data Builtin v = Builtin
builtinsList :: forall e t f m . MonadNix e t f m => m [Builtin (NValue t f m)] builtinsList :: forall e t f m . MonadNix e t f m => m [Builtin (NValue t f m)]
builtinsList = sequence builtinsList = sequence
[ do [ do
version <- toValue (principledMakeNixStringWithoutContext "2.0") version <- toValue (principledMakeNixStringWithoutContext "2.3")
pure $ Builtin Normal ("nixVersion", version) pure $ Builtin Normal ("nixVersion", version)
, do , do
version <- toValue (5 :: Int) version <- toValue (5 :: Int)