nix-shell Questions

2

Solved

I'm wondering how to install the psql command on NixOS. To be clear: I'm only interested in the client, not the server. I've looked at the derivation but couldn't find any pointers. Is there a wa...
Ulmaceous asked 13/9, 2018 at 20:56

1

Solved

I'm trying to use nix-shell with a shell.nix file to get a clean development environment but I don't know how to change the location of the temporary build directories. The buildInputs packages are...
Autotruck asked 10/7, 2022 at 14:35

1

For modern versions of Yarn, aka Yarn Berry, the preferred installation is through Corepack, and Corepack is included by default with Node.js installs (>=16.10). See https://yarnpkg.com/getting-...
Lebanon asked 22/4, 2022 at 16:30

2

Solved

A derivation takes lots of arguments but only one of them, builder, is executable right? And nix-shell doesn't really execute the builder, which means there's no way of running commands such as exp...
Fairfield asked 26/10, 2020 at 14:26

2

Solved

If I build my Haskell project under nix-shell it gives error about missing zlib. If I build the project in nix-shell using nix-shell -p zlib then the project sees zlib and builds successfully. Ho...
Cargill asked 10/10, 2019 at 15:54

1

Solved

What's the shortest shell.nix equivalent of the following cmdline arguments? nix-shell -p "haskell.packages.ghc865.ghcWithPackages (p: [p.ghci-pretty])" This works, but it's verbose: # contents...
Airliah asked 7/10, 2019 at 13:1
1

© 2022 - 2024 — McMap. All rights reserved.