Comments (9)
I installed it with with the following overlay
~/.config/nixpkgs/overlays/lorri.nix
:
self: super: {
lorri =
let src =
(super.fetchFromGitHub {
owner = "target";
repo = "lorri";
rev = "e943fa403234f1a5e403b6fdc112e79abc1e29ba";
sha256 = "1ar7clza117qdzldld9qzg4q0wr3g20zxrnd1s51cg6gxwlpg7fa";
});
in super.callPackage src { inherit src; };
}
from lorri.
For now we are on a rolling-release schedule via lorri self-upgrade
, which is a small wrapper around nix-env
(see https://github.com/target/lorri#upgrading). We’ll migrate to semver (and push it to nixpkgs) once we stabilize the interface and functionality, but we want to be able to make fast iterations for now.
from lorri.
@sveitser Your solution looks good! But after I home-manager switch
no lorri
executable appears. How do I get home-manager
to recognize the overlay?
from lorri.
@matthew-piziak I thought overlays put into ~/.config/nixpkgs/overlays
would be applied automatically but that doesn't seem to be the case.
I think this should work in configuration.nix
or home.nix
.
nixpkgs.overlays = [
(import ./path/to/lorri.nix)
];
from lorri.
Aw, I tried that too, with a fully qualified path as well. No dice. 😢 😕
from lorri.
Hmm. Did you add lorri
to home.packages
?
from lorri.
Yeah, I added pkgs = import <nixpkgs>
and home.packages = [ pkgs.lorri ];
from lorri.
What if you apply the overlay in configuration.nix
and add lorri
to environment.systemPackages
?
I'm using this
https://github.com/sveitser/nixconfig/blob/master/pc-common.nix#L20
https://github.com/sveitser/nixconfig/blob/master/home-nixpkgs/home.nix#L26
https://github.com/sveitser/nixpkgs-overlays/blob/71fd604a7ed4bb0c0f260c1fa6d3dd7f73e17ab1/lorri.nix
from lorri.
That did it! Yes! Thank you for bearing with me. :)
Now it's failing with a cargo error, but that's something I can take look into myself. I'm just happy my configuration is picking it up.
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.