Questions tagged [nixpkgs]

Nixpkgs is the collection of packages available via Nix package manager.

Home page: http://nixos.org/nixpkgs/

84 questions
1
vote
1 answer

Is there a standalone Nixpkgs “standard library” to create private Nixpkgs repos?

Is there any project/repo that contains "standard library" functions extracted from the Nixpkgs repo? Currently reading the Nixpkgs manual, and it seems that the Nixpkgs repo consists of functions that actually help build (cross-platform) packages…
toraritte
  • 6,300
  • 3
  • 46
  • 67
1
vote
1 answer

What is the recommended way to install packages not in `nixpkgs/pkgs/top-level/all-packages.nix`

I would like to install elementary-terminal. This package is not in nixpkgs/pkgs/top-level/all-packages.nix and I suppose it is therefore not sufficient to just add elementary-terminal into configuration.nix What is the recommended way to install…
Manuel Schmidt
  • 2,429
  • 1
  • 19
  • 32
1
vote
2 answers

How to change the serviceConfig of a service defined in nixpkgs from configuration.nix?

The nagios in nixpkgs has systemd.services.nagios.serviceConfig.Restart="always"; which is cluttering the journalctl -u nagios log and should be Restart="no"; instead! MySQL fix For MySQL this works: systemd.services.mysql.serviceConfig = { …
qknight
  • 866
  • 10
  • 23
1
vote
2 answers

Permission denied (publickey) when using Nix's Git

I installed Git via Nix (on Arch Linux). [gorre@uplink ~]$ uname -a Linux uplink 4.16.9-1-ARCH #1 SMP PREEMPT Thu May 17 02:10:09 UTC 2018 x86_64 GNU/Linux [gorre@uplink ~]$ nix-env…
x80486
  • 6,627
  • 5
  • 52
  • 111
1
vote
0 answers

How to correctly configure fonts for OpenJDK apps in nixpkgs?

When I run IntelliJ inside of Docker using a nixpkgs environment, I see a lot of missing characters in the GUI: A possibly unrelated problem is that the act of selecting text (when selectable) seems to improve the situation - see the transition…
bbarker
  • 11,636
  • 9
  • 38
  • 62
1
vote
1 answer

nix-build nix-generate-from-cpan: expression does not evaluate to a derivation

I'm trying to use nix-generate-from-cspan to install sqitch From nix-generate-from-cpan App::Sqitch DBD::Pg, I made this file: {buildPerlModule, fetchurl}: buildPerlModule rec { name = "App-Sqitch-0.9995"; src = fetchurl { url =…
HectorJ
  • 5,814
  • 3
  • 34
  • 52
1
vote
1 answer

override python27Packages.bepasty-server

to experiment with upstream changes i want to alter the src= attribute in pkgs.python27Packages.bepasty-server. reading through https://nixos.org/nixpkgs/manual/#chap-functions there is no example how to do this for pythonPackages! so i have tried…
qknight
  • 866
  • 10
  • 23
0
votes
0 answers

How to set up a Nix remote builder that evaluates untrusted derivations?

I am investigating a solution to provide some remote builder services. The idea is that I want to provide the following services: a shared nix store a shared remote ssh builder, which can be used in nix --builders ssh://my-user@my-host flag by my…
Yang Bo
  • 3,586
  • 3
  • 22
  • 35
0
votes
0 answers

How to use Nix emacs-overlay with nix-env?

I use Nix on Darwin / Mac OS. The Nix Community provides and Emacs-Overlay that has the latest versions of many packages for Emacs packaged for Nix. When I apply the overlay by putting this into ~/.config/nixpkgs/overlays.nix ... [ (import…
0
votes
1 answer

Exit code 137 with nixpkgs, despite not changing anything

I'm using Miso, a Haskell backend for JS, and my code was compiling fine yesterday. However, as I try to compile today I get this: Preprocessing executable 'simple' for miso-1.8.0.0.. Building executable 'simple' for miso-1.8.0.0.. [1 of 1]…
ness64
  • 31
  • 6
0
votes
1 answer

Errors while deploying an app on railway-app with poppler

I am using railway.app to deploy my app. My nixpacks.toml is as follows: [phases.name] aptPkgs = ["tesseract-ocr", "tesseract-ocr-san", "poppler-utils"] When I run my app, I get the following error: File…
Echchama Nayak
  • 971
  • 3
  • 23
  • 44
0
votes
1 answer

Installation non-nix python package in NixOS (findiff)

I'm trying to install findiff Python package in NixOS follow this guide. My pkgs/development/python-modules/findiff/default.nix file is: { lib , buildPythonPackage , fetchPypi , pytestCheckHook , pytest-runner , numpy , scipy ,…
Stanislav Ivanov
  • 1,854
  • 1
  • 16
  • 22
0
votes
1 answer

How to install printenv from Nixpkgs?

On Linux, I can use printenv to print shell environment variables. However, when I search on Nix binary cache for printenv I get No packages found. Is there a way to get that package via Nixpks?
zuzuleinen
  • 2,604
  • 5
  • 38
  • 49
0
votes
1 answer

nixpkgs.overlays and nixpkgs.config.packageOverrides not being reflected in environment.systemPackages

It seems that when I override a python3 package in nixpkgs.config.packageOverrides or nixpkgs.overlays, a python application in environment.systemPackages is not using those overrides. How can I get that overridden python3 package to be used in a…
yonran
  • 18,156
  • 8
  • 72
  • 97
0
votes
0 answers

nix-shell script does nothing when using script

I'm quite new to Nix and I'm trying to create a very simple shell.nix script file. Unfortunately I need an old package: mariadb-10.4.21. After reading and searching a bit I found out that version 10.4.17 (would've been nice to have the exact version…
AronNeewart
  • 461
  • 6
  • 18