[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue installing some packages with nixpkgs
From: |
Blake Sweeney |
Subject: |
Issue installing some packages with nixpkgs |
Date: |
Sat, 21 Nov 2020 12:09:22 +0000 |
Hi,
I'm trying to install some packages using nixpkgs on osx using egg2nix and ran
into a strange issue with llrb-tree. It cannot be installed because of failure
to create a strange path. Other packages like srfi-69, list-utils, etc can be
installed though. Below is a snippet of trying to install llrb-tree:
these derivations will be built:
/nix/store/88v0h58kdj8jlyp4r40f9ppkjhr6drz1-chicken-llrb-tree-0.3.8.drv
building
'/nix/store/88v0h58kdj8jlyp4r40f9ppkjhr6drz1-chicken-llrb-tree-0.3.8.drv'...
unpacking sources
unpacking source archive
/nix/store/2gaq2jwbg6788dkvfq200947d6x461qy-chicken-llrb-tree-export
source root is chicken-llrb-tree-export
patching sources
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
Error: (create-directory) cannot create directory - Permission denied:
"/homeless-shelter"
builder for
'/nix/store/88v0h58kdj8jlyp4r40f9ppkjhr6drz1-chicken-llrb-tree-0.3.8.drv'
failed with exit code 70
error: build of
'/nix/store/88v0h58kdj8jlyp4r40f9ppkjhr6drz1-chicken-llrb-tree-0.3.8.drv' failed
Attached is a shell.nix that can reproduce the issue. Note that on osx, you will
need a very up-to-date nix as chicken was just marked as working on osx.
I'm guessing that at some point chicken-install wants to create a path in $HOME,
which is set to /homeless-shelter by nix during a build. Nix already sets
CHICKEN_INSTALL_PREFIX and CHICKEN_INSTALL_REPOSITORY, but is there any other
path that needs to be set/created? Thanks for any help!
Kind Regards,
Blake Sweeney
- Issue installing some packages with nixpkgs,
Blake Sweeney <=