2
votes
Accepted
how to execute a bash script in nixos
I should think the not defined error is because neither curl nor bash are present in PATH when the system derivation is built.
The manual entry for system.activationScripts says:
A set of shell ...
2
votes
Why are Nix programs not able to resolve mDNS names when native programs are?
The missing link here is nscd; simply installing nscd and starting the daemon makes the Nix-installed programs work.
$ sudo dnf install nscd
$ sudo systemctl start nscd.service
$ nix-shell -p ssh-...
2
votes
Accepted
Read files from remote repository using nixOs
Here's a short derivation that reads a file from a remote git repo that contains no Nix configuration:
with (import <nixpkgs> { });
let
repo = fetchFromGitHub {
owner = "nix-community&...
1
vote
Accepted
Install software on Ubuntu using apt without root?
Spack, like Nix, does (2) automatically, but lets you build against external packages like the system MPI, math libraries, etc. It also gives you more flexibility around versions, compilers, and other ...
1
vote
NixOps deployment on x86_64-darwin (vs. x86_64-linux)
solution
for the time being do not use nixops from your mac machine directly! this seems tempting but we tried get it working it for hours to no avail! using https://functional-orbitz.blogspot.de/...
1
vote
Accepted
How to install Postgis with Osm2pgsql on NixOS
osm2pgsql is not yet packaged in nix, so a first step would be to package it.
As far as I see you use osm2pgsql tool as a command line utility. Adding it to environment.systemPackages should make it ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
nix × 21nixos × 6
linux × 3
mac-osx × 3
command-line-interface × 2
shell × 2
mv × 2
ubuntu × 1
networking × 1
domain-name-system × 1
docker × 1
bash × 1
redhat × 1
windows-server-2012 × 1
cisco × 1
dhcp × 1
memory × 1
unix × 1
postgresql × 1
java × 1
freebsd × 1
fedora × 1
apt × 1
php5 × 1
process × 1