Questions tagged [nixpkgs]

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

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

84 questions
0
votes
0 answers

How to configure build input packages/dependencies within Nix development shells?

I'm not using NixOS but I wrote a flake that I'm using to generate a dev shell to build a Rust project (this is essentially just the audio example from the Bevy repository). My issue is that I encounter the following error when attempting to run the…
nicoty
  • 166
  • 11
0
votes
1 answer

How does Nix able to install individual NPM packages as standalone software?

CAVEAT: If you would like to use Serverless Framework with Nix/NixOS, this is not the way to do it: the package you end up with is outdated, and (as stated below) it probably won't work anyway. See thread on NixOS Discourse. Wanted to try out…
toraritte
  • 6,300
  • 3
  • 46
  • 67
0
votes
0 answers

Why are the `fetchTarball`-downloaded files not in scope?

I am on NixOS, trying to add the following derivation to nixpkgs: { stdenv, lib, openjdk,typedbHome ? "~/.typedb_home", fetchzip}: let typedbVersion = "2.1.1"; typedbDirLinux = "typedb-all-linux-${typedbVersion}"; typedbDirMac =…
Fabian Schneider
  • 799
  • 1
  • 13
  • 40
0
votes
1 answer

julia 1.0 installation tests - nix-pkgs - ubuntu

My laptop: Linux g-TP 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux I installed julia via nix-env and got the following test result Test Summary: | Pass Broken Total Overall |…
InLaw
  • 2,537
  • 2
  • 21
  • 33
0
votes
1 answer

What is a reliable way to include libraries for virtualenv python packages in nix?

I'll start by saying virtualenv is basically a requirement here since Nix is not yet being used by the rest of the development team. This excellent guide on Python in Nix doesn't quite drill down to this particular issue. In some cases I can update…
bbarker
  • 11,636
  • 9
  • 38
  • 62
0
votes
1 answer

How to have a derivation not clash with derived environment in Nix?

I get the following collision error when attempting to build an environment that, as far as I can see, shouldn't have a collision (in this case, scala-env depends on ideaLocal, so it shouldn't conflict with…
bbarker
  • 11,636
  • 9
  • 38
  • 62
0
votes
1 answer

Where should the builder script be located for a stand-alone nix expression?

I have a nix expression file (.nix) and a shell script builder, specified like: stdenv.mkDerivation rec { name = "my-env"; builder = './my-builder.sh'; ... ./my-builder.sh: No such file or directory when I run nix-build ./my-env.nix;…
bbarker
  • 11,636
  • 9
  • 38
  • 62
0
votes
1 answer

nix-shell for perlPackages

problem i want to play with a perl package called Mail::SPF and there is a Build.PL issue. now i would like to modify the source before running the buildPhase. for c/c++ based projects this is working well but for perl it fails: nix-shell -I…
qknight
  • 866
  • 10
  • 23
0
votes
1 answer

glpk and pcre not found (NIXOS)

I am trying to build my own nix-shell environment in my NixOS. I have 2 .nix file, default.nix and shell.nix, here's the configuration: default.nix: { stdenv, haskellngPackages}: let env = haskellngPackages (p: with p; [ aeson …
Rizary
  • 123
  • 1
  • 7
1 2 3 4 5
6