fix: nix repl '<nixpkgs>' no longer works

This commit is contained in:
Noah Masur
2024-11-06 13:56:00 -05:00
parent cf8fc2ac56
commit 67727954ec
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ function TERM_TOGGLE()
basicterminal:toggle()
end
local nixpkgs = terminal:new({ cmd = "nix repl '<nixpkgs>'" })
local nixpkgs = terminal:new({ cmd = "nix repl --expr 'import <nixpkgs>{}'" })
function NIXPKGS_TOGGLE()
nixpkgs:toggle()
end