Skip to content

purerl/nixpkgs-purerl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix overlays for purerl

To add the overlays to your nixpkgs, add default.nix to the overlay path like:

$ ln -s $(pwd)/default.nix $HOME/.config/nixpkgs/overlays/purerl.nix

And to install a purerl package, run:

$ nix-env -iA nixpkgs.purerl.purerl-0-0-7

Then purerl command should be ready as:

$ purerl --version
0.0.7

Use via flakes

To run directly from github:

$ nix run github:purerl/nixpkgs-purerl#purerl-0-0-19 -- --version
0.0.19

Or to enter a shell:

$ nix develop github:purerl/nixpkgs-purerl#purerl-0-0-19
$ purerl --version
0.0.19

Or to use as an input to another flake:

{
  inputs = {
    nixpkgs.url = "nixpkgs/nixos-22.11";
    nixpkgs-purerl.url = "github:purerl/nixpkgs-purerl";
    nixpkgs-purerl.inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = {
    self,
    nixpkgs,
    nixpkgs-purerl,
  }:
    let pkgs = nixpkgs.legacyPackages.x86_64-linux;
        purerl = nixpkgs-purerl.packages.x86_64-linux.purerl-0-0-19;
    in rec {
      devShells.x86_64-linux.purerl = pkgs.mkShell {
        buildInputs = [ purerl ];
      };
    };
}
$ nix develop .#purerl
$ purerl --version
0.0.19

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages