Comments (6)
Have you also removed the .lorri
directory in your project’s root directory?
from lorri.
Yup, that did not change the error either unfortunately.
I checked with the debug command in the README as well, the output is the same..
from lorri.
Can you provide the shell.nix you're using, version of nixpkgs, etc?
from lorri.
Sure @grahamc, I have reproduced this error with two shell.nix
files, and am using the following nix config:
The Haskell Project
This had a mostly untouched shell.nix
created by cabal2nix
:
(import ./. {}).grimoire-shell
The default.nix
is:
{ compiler ? "ghc864", pkgs ? import <nixpkgs> {} }:
let
haskellPackages = pkgs.haskell.packages.${compiler};
drv = haskellPackages.callCabal2nix "grimoire" ./. {};
in
{
grimoire = drv;
grimoire-shell = haskellPackages.shellFor {
packages = p: [drv];
buildInputs = with pkgs; [ cabal-install hlint ];
};
}
The Ruby Project
This is a bundix
oriented setup, there is no default.nix
and the shell.nix
is:
{ pkgs ? import <nixpkgs> {} }:
let
inherit (pkgs) ruby bundlerEnv mkShell bundler;
env = bundlerEnv {
name = "grimoire-bundler-env";
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
};
in mkShell {
name = "grimoire";
buildInputs = with pkgs; [
# Not part of nanoc, needed for nokogiri
zlib
lzma
gccStdenv
# Ruby and nanoc
env
bundix
pandoc
];
}
from lorri.
Can you delete everything in /nix/var/nix/gcroots/per-user/YOUR_USERNAME/
? That’s where lorri sets up its roots, maybe one of these is broken.
I mean in general we can’t anticipate every state a user puts their system into, this looks like a very special in-between state that you got because you reinstalled nix and lorri. It probably depends exactly on what you did when reinstalling nix (e.g. whether you removed the whole of /nix
in the process or just parts of it).
from lorri.
Closing due to inactivity, feel free to ping for further questions.
from lorri.
Related Issues (20)
- lorri clobbers nix-shell environment
- Show and update lorri daemon status in shell
- No documentation about runtime garbage collection
- Lorri does not use bashInteractive like nix-shell
- Lorri misbehaves when the shell has `disallowedReferences`
- `lorri direnv` extremely slow with a large number of env vars
- shellHook fails when sourcing bash completions HOT 1
- lorri Crash Report
- lorri Crash Report HOT 1
- Start lorry from Emacs HOT 1
- Bash completions fail because XDG_DATA_DIRS is reset HOT 1
- lorri Crash Report HOT 1
- lorri + direnv reloads environment after every command HOT 1
- Lorri doesn't build on unstable HOT 2
- lorri internal stream-events does nothing
- Lorri fails to setup FHS user environment HOT 3
- Lorri incorrectly prepend NODE_PATH instead of overwriting
- Breaks kde-open5/xdg-open HOT 2
- MAINTENANCE NOTICE HOT 1
- lorri Crash Report
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lorri.