1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-07 22:36:53 +03:00

Too much Nix

This commit is contained in:
Domen Kožar 2019-03-28 07:43:32 +00:00 committed by GitHub
parent c2698b0780
commit 86eb9881b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -798,9 +798,9 @@ abortCannotAddPackageExists :: PackageName -> IO a
abortCannotAddPackageExists (PackageName n) = abort $ unlines
[ "Cannot add package " <> n <> "."
, "The package already exists. Use"
, " nix drop " <> n
, " niv drop " <> n
, "and then re-add the package. Alternatively use"
, " nix update " <> n <> " --attr foo=bar"
, " niv update " <> n <> " --attr foo=bar"
, "to update the package's attributes."
]
@ -808,7 +808,7 @@ abortCannotUpdateNoSuchPackage :: PackageName -> IO a
abortCannotUpdateNoSuchPackage (PackageName n) = abort $ unlines
[ "Cannot update package " <> n <> "."
, "The package doesn't exist. Use"
, " nix add " <> n
, " niv add " <> n
, "to add the package."
]