Code Monkey home page Code Monkey logo

Comments (9)

sveitser avatar sveitser commented on July 30, 2024 2

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.

Profpatsch avatar Profpatsch commented on July 30, 2024

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.

matthew-piziak avatar matthew-piziak commented on July 30, 2024

@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.

sveitser avatar sveitser commented on July 30, 2024

@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.

matthew-piziak avatar matthew-piziak commented on July 30, 2024

Aw, I tried that too, with a fully qualified path as well. No dice. 😢 😕

from lorri.

sveitser avatar sveitser commented on July 30, 2024

Hmm. Did you add lorri to home.packages ?

from lorri.

matthew-piziak avatar matthew-piziak commented on July 30, 2024

Yeah, I added pkgs = import <nixpkgs> and home.packages = [ pkgs.lorri ];

from lorri.

sveitser avatar sveitser commented on July 30, 2024

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.

matthew-piziak avatar matthew-piziak commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.