|
- ruby - What is the meaning of *nix? - Stack Overflow
*nix just means operating systems that are like the old workhorse Unix Some examples include Linux, FreeBSD, and Mac OS X (its kernel, Darwin, is based on BSD) The main relation between *nix and Ruby is just a pragmatic one; most Ruby developers seem to prefer to work on Unix-like OSes (typically Linux or Mac OS X)
- How can I add a python package to a shell. nix, if its not in nixpkgs . . .
(nix interacts with git, nix likes when things are tracked by git) In your terminal, navigate to the directory where this file is stored Enter the nix development shell: nix develop VSCode should open and the Python environment should have access to all the packages you list here Explanation Why was using Python in a nix dev shell on NixOS
- nix - How to get the current nixos version (for example 23. 05) in a . . .
@Rob Nix is a programming language, so this is similar to asking how to get the Python version from within a Python script – l0b0 Commented Nov 6, 2023 at 20:18
- how to add NixOS unstable channel declaratively in configuration. nix . . .
I would like to not have to do the manual nix-channel --add and nix-channel --update steps I would like to be able to install my system from configuration nix without first having to run the nix-channel --add and nix-channel --update steps Is there a way to automate this from configuration nix?
- nixos - Nix store across multiple disks - Stack Overflow
The nix-user-chroot tool will do basically the same as above; you just give it the path to your desired Nix store The nix-portable tool also does a similar thing, using PRoot, etc nix run --store can be used to make a different nix available to sub-processes (e g we can use this to run bash, and hence whatever other commands we like)
- How to use an experimental command in nix? - Stack Overflow
For permanent effect add following line to your configuration file "~ config nix nix conf" experimental-features = nix-command Create the conf file if it doesn't exist You can append other experimental features like flakes etc
- nix - How to use postgresql in nixos - Stack Overflow
psql won't connect after nix-env because it just puts the PostgreSQL package into the nix store, but doesn't start it You can check it on the terminal with ps ax | grep postgres 2 nix-shell --pure shell nix This puts the PostgreSQL package in the nix store, starts and initializes the database cluster (with pg_ctl start and initdb
- nixos - How do I create a file in the nix store? - Stack Overflow
I'd like to define manage a config file within a nix file and have it end up in the nix store, how can I do this? Currently I'm managing this (outside of the nix store) manually by having the file within a path like ~ example config json, and used like the below:
|
|
|