Background
When I've added the first Overlay for Nixpkgs, I found out that a bunch of system utils got built for a different version:
these derivations will be built:
/nix/store/028dqnwq36xja16gba3gckq5mcprpn06-postfix-main.cf.drv
…
I want to write a shell.nix file that will provide me a development environment which includes developer tools + haskell dependencies. I would like to keep my nix expressions separate - for now that means one file containing information about my…
I installed Docker 17.12.0-ce via Nix in Ubuntu (Linux uplink 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux), but every time I try to execute any Docker command, it keeps telling me: Cannot…
question
when using nix-prefetch-git with a --rev, do we actually really need a sha256 also?
assumption
i understand this requirement when using git with tags since tags can be reattached to a different rev.
so my current theory is that we distrust…
The stdenv of newer Nixpkgs versions fails to set the NIX_CFLAGS/NIX_LDFLAGS for the package libav, which has worked in older versions.
What am I doing wong?
The following script illustrates the problem.
It runs several builds with buildInputs = […
I'm building a Haskell project using Stack and Nix and depending on the cairo library from Hackage.
When I build the project, I get an error: unable to find pkg-config >= 0.9.0 or cairo >= 1.2.0. However, the latest versions according to their…
Currently I am having some trouble using an Idris package that was installed with nixpkg in another Idris package that depends on it. Both of these packages have been tested on a Debian system, so the problem is not with the Idris code itself, but…
I have a development shell with a buildInputs entry that includes qt55.qtbase. This works great.
Today, I got a seg fault that happens in a qt library and I'd like qt libraries with debug symbols.
I took a look at…
I'm relatively new to nix, and I'm really clueless about what is happening.
I'm getting the following while attempting to load nixpkgs:
~ % nix repl ''
warning: future versions of Nix will require using `--file` to load a file
Welcome to…
The following is a minimal reproducer for an infinite recursion error when building a nixos configuration:
(import ) {
configuration = { pkgs, ... }: {
options = builtins.trace "Building a system with system ${pkgs.system}" {};
…
I'm trying to install external binary inside NixOS, using declarative ways. Inside nix-pkg manual, I found such way of getting external binary inside NixOS
{ pkgs ? import {} }:
pkgs.stdenv.mkDerivation {
name = "goss";
src =…
I know how to install some nix packages with nix-env but there are some of them I have no clue how to install,
for example:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/pygit2/default.nix
How to install that…
I want to add a makeFlag to the Firefox package using Nixpkgs overlays, but it seems to be non-trivial.
Overriding w3m works...
(import {
overlays = [
(self: super: {
w3m = super.w3m.overrideAttrs (oldAttrs: {
# that…
I'm building a QML application on Ubuntu 18.04 and want to setup my development environment using nix (and nixpkgs). However the QML import paths are messed up. If I run the application, I get:
qrc:/main.qml:14 Type ToolButton…