Questions tagged [nixpkgs]
13 questions
18
votes
3 answers
How do I create a local repository for NixOS/nixpkgs?
All the instructions I find for creating a local repository of Nix packages involve creating a local clone of the main nixpkgs repository and adding to that.
Is there a way I can create a small repository just containing my local add-on packages?
Michael Ekstrand
- 2,064
- 3
- 21
- 23
9
votes
1 answer
How do you install a one-off package in NixOS?
I've got a NixOS box that I keep on the nixos-16.03 channel. I want the machine to stay in a mostly-stable state, and so I am wanting to avoid switching to the nixos-unstable channel.
However, I need to install a newer version of a package than is…
Ben Collins
- 4,101
- 1
- 10
- 8
8
votes
1 answer
Preventing Nix from upgrading git to git-full
I'm using Nix on Ubuntu to have more modern versions of some packages, one of them being git. When I'm run nix-env -u, this is what happens:
% nix-env -u --dry-run '*'
(dry run; not doing anything)
upgrading `git-1.8.5.4' to `git-1.9.0-full'
This…
Miikka
- 525
- 4
- 13
7
votes
2 answers
Cloning builder process: Operation not permitted when using Nix (under Linux) update channel
I use Arch Linux 4.19.15-1-lts #1 SMP Sun Jan 13 13:53:52 CET 2019 x86_64 GNU/Linux. I do also have Nix installed: nix-env (Nix) 2.2.
I've never had any problems until the recent update to version 2.2. I always do the upgrades/updates with these two…
x80486
- 939
- 2
- 11
- 31
7
votes
2 answers
Howto Install google chrome in nixos?
How can I install google chrome in nixos?
I have tried
nix-env -i google-chrome
nix-env -i google-chrome-stable
...
Which does not seem to work.
I also tried using the unstable branch
nix-channel --add…
Arwed Mett
- 171
- 1
- 1
- 7
3
votes
0 answers
How to use a package revision not yet in the published nixpkgs (but described in the development branches of nixpkgs)?
I'd like to use the new release of ghc (7.10, because of a new feature -- static ptr), and I'm using a single-user nix environment.
I don't find the wanted new release in the published lists at https://nixos.org/nixos/packages.html; e.g., the latest…
imz -- Ivan Zakharyaschev
- 15,113
- 15
- 61
- 123
2
votes
4 answers
How to install Python pip on Nixos?
I can't seem to find the appropriate package that install's pip on Nixos?
Chris Stryczynski
- 5,178
- 5
- 40
- 80
2
votes
1 answer
Why does my nixos installation have two paths to 'nixpkgs'?
Searching my system for nixpkgs yields the following.
$ find / -name nixpkgs…
mherzl
- 1,409
- 2
- 18
- 31
1
vote
1 answer
How to use specific verion of nixpkgs (on macOS)?
How can I point my nix installation (on macOS) to a specific version of nixpkgs? I'm trying to ensure that my home and office computers always use the same versions of all packages.
Maxim
- 111
- 1
1
vote
2 answers
nixpkgs-unstable visible imperatively but not declaratively
I'm trying to install this Python library
python3.6-geopandas-0.3.0. And I successfully installed it imperatively with
$ nix-env -iA nixpkgs.python3Packages.geopandas
However I need to create an expression so that my Python environment includes…
dmvianna
- 397
- 3
- 14
1
vote
1 answer
Unable to install vim plugins
I am unable to install any vim plugins on nixOS
running the command:
nix-env -i vimplugin-Syntastic
gives these as the last 3 lines of output:
output path ‘/nix/store/3bcdjr4hwgrimcimdg2115prpfm83xca-syntastic-4782184’ should
have r:sha256 hash…
jmoggr
- 83
- 5
0
votes
1 answer
How to register nix package after building?
I know that a nix package from repository can be installed via:
nix-env -i package-name
After that command executable file is on the path and it everything fine.
On project page I spot that a nix package could be build from source:
nix-build -A…
Daniil Iaitskov
- 141
- 3
0
votes
1 answer
Linux Ubuntu 18.04 - nix nixpkgs virtualbox - channel
my status quo
Linux cc 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
nix-env (Nix) 2.0.2
"18.09pre140705.090b7cc8f1b"
I would like to use nixpkgs / nix package manager as my main system package…
InLaw
- 152
- 1
- 5