Questions tagged [nixos]

NixOS is a Nix-based Linux distribution.

NixOS is a Linux distribution based on Nix, a functional programming language. It supports atomic upgrades, rollbacks and multi-user package management, and it has a declarative approach to system configuration management that makes it easy to reproduce a configuration on another machine.

Home page: https://nixos.org/

505 questions
0
votes
1 answer

How can I setup simple-scan on my nixos host for an HP OfficeJet Pro

I have an HP OfficeJet Pro 8610, and a nixos host. I can easily set up the printer in cups, using hplip and a hp:/net/... address. But how can I set up scanning with simple-scan? It doesn't recognize the existence of the printer, neither does…
user3416536
  • 1,429
  • 9
  • 20
0
votes
1 answer

How to install libgtk2.0-dev on NixOS?

I'm trying to build this application from source: https://gitlab.com/TheFrozenWatchers/LeagueDisplays Whenever I try running the make command, it fails with 'gtk/gtk.h' file not found. Is there a known way to install libgtk2.0-dev in Nix (the lack…
pradyuman
  • 1,089
  • 2
  • 14
  • 20
0
votes
0 answers

Godot Nix Expression Fails

I've added the following nix expression to my project (verbatem from nixpkgs) and tried to build it, but I get the following error message: these derivations will be built: /nix/store/l6l5j1gas74pnzc2pb8w9fv2namxpgki-godot-3.0.6.drv building…
George
  • 6,927
  • 4
  • 34
  • 67
0
votes
0 answers

Headless setup of NixOS on raspberry pi3

Having followed Zupo's execellent post which was mentioned in a NixOs Weekly, I wondered if it might be possible to setup a rasberry pi3 without the need for a monitor and use wifi rather than an ethernet cable. There are all ready several blogs…
potong
  • 55,640
  • 6
  • 51
  • 83
0
votes
1 answer

Linker errors when trying to compile static executable with stack on Nixos

It seems I might need to add some 'packages' to the nix dependencies, though I'm not sure how to determine which packages (besides a tedious web search for each lm,lrt...)? stack install Building all executables for `sodiumSierraStrawberry'…
Chris Stryczynski
  • 30,145
  • 48
  • 175
  • 286
0
votes
2 answers

What should I try when cassandra appears to be running and listening but cqlsh can't connect?

I'm new to Cassandra and was trying it out. Despite Cassandra apparently running and listening (according to lsof) I can't connect to it. sudo systemctl status cassandr also reports active (running). $ sudo lsof -Pnl +M -i4 COMMAND PID USER …
bbarker
  • 11,636
  • 9
  • 38
  • 62
0
votes
1 answer

Why is nixos-rebuild switch creating a store for something that is not used?

I did something to my system when switching channels from nixos-18.09 to nixos-unstable and back, and now run into an issue that prevents $ nixos-rebuild switch from running successfully. When I try to do that, I get the following error: writing…
mherzl
  • 5,624
  • 6
  • 34
  • 75
0
votes
2 answers

Dovecot log file location on Nixos

I want to use dovecot as a local IMAP server to serve my offlineimap synced mails to gnus. This is on a Nixos installation. I have installed the dovecot package via my configuration.nix. however I am having trouble configuring it, seeing where the…
Hoopla
  • 1
0
votes
1 answer

Haskell Stack Error on NixOS: "There are files missing in the package"

I'm trying to build a package that I have verified works on non-NixOS distros. Here is the error: $ stack --nix build th-expand-syns-0.4.4.0: configure th-expand-syns-0.4.4.0: build bytes-0.15.3: configure bytes-0.15.3: build …
George
  • 6,927
  • 4
  • 34
  • 67
0
votes
1 answer

Can't start android emulator from command line

Strangely I can start the very same avd from android-studio - but when trying to start it from command-line I am getting this: $ DISPLAY=":0" emulator @28 libGL error: unable to load driver: i965_dri.so libGL error: driver pointer missing libGL…
ligi
  • 39,001
  • 44
  • 144
  • 244
0
votes
1 answer

Nix Cabal Not Finding Dependencies

Trying a nix build on nix-os: cabal --enable-nix install Resolving dependencies... Configuring alex-3.2.4... Configuring happy-1.19.9... Configuring c2hs-0.28.3... Building alex-3.2.4... Building c2hs-0.28.3... Building happy-1.19.9... Installed…
liminal18
  • 563
  • 7
  • 21
0
votes
1 answer

Issue downloading Compose for Docker on NixOS

I am attending a hackathon. It's early morning, and I'm going to sleep before the sun rise. I am hoping someone here knows how to install Compose for Docker, as it is required for running Gitcoin Web docker. I am new to Docker and NixOS. Here is a…
Casey
  • 444
  • 1
  • 7
  • 22
0
votes
2 answers

Build a nix package

I am trying to build a nix package for the datomic database. here is the derivation so far: { stdenv, fetchurl, unzip }: …
ftravers
  • 3,809
  • 3
  • 37
  • 38
0
votes
1 answer

Different sha256 between nix-hash and nix-prefetch-url

When I want to precompute the sha256 of a downloaded file foo.txt, the output of nix-hash on the manually downloaded file is different from the one that is printed by nix-prefetch-url. How can I compute the same hash with nix-hash?
Markus1189
  • 2,829
  • 1
  • 23
  • 32
0
votes
1 answer

Nix Hydra throws errors on imports with , where symbol is not

There is something that is not completely clear to me on hydra. The following jobset: { nixpkgs ? import { config.allowUnfree = true; config.allowBroken = true; } , my_package ? path/to/package/default.nix…