Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道如何psql在 NixOS 上安装命令。需要明确的是:我只对客户端感兴趣,而不是服务器。
psql
我查看了推导,但找不到任何指针。
有没有办法在不从源代码构建的情况下创建派生?
谢谢!
该psql命令位于任何postgresql*软件包中,因此您只需将其添加到environment.systemPackages并重新构建:
postgresql*
environment.systemPackages
environment.systemPackages = [ pkgs.postgresql ];