forked from lix-project/lix
nix shell -> nix dev-shell
This commit is contained in:
parent
e1a94ad852
commit
3166b97174
|
@ -92,7 +92,7 @@ StorePath getDerivationEnvironment(ref<Store> store, Derivation drv)
|
||||||
{
|
{
|
||||||
auto builder = baseNameOf(drv.builder);
|
auto builder = baseNameOf(drv.builder);
|
||||||
if (builder != "bash")
|
if (builder != "bash")
|
||||||
throw Error("'nix shell' only works on derivations that use 'bash' as their builder");
|
throw Error("'nix dev-shell' only works on derivations that use 'bash' as their builder");
|
||||||
|
|
||||||
drv.args = {
|
drv.args = {
|
||||||
"-c",
|
"-c",
|
||||||
|
|
Loading…
Reference in a new issue