Skip to content

About

my nix overlay

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c4605's nix overlay

Included

How to install

local

To install the overlay into ~/.config/nixpkgs/overlays just run:

./install.sh

now you can test your builds using:

nix-shell -p <package>

global

add the following to your /etc/nixos/configuration.nix:

nixpkgs.config.packageOverrides = import /path/to/overlay.nix pkgs;

now you can install the packages from the overlay

environment.systemPackages = with pkgs; [
    <package>
];

Development tips

How to check builds

nix-build -E 'with import <nixpkgs> {} ; callPackage ./default.nix {}';

should create a ./result folder which contains the result of the package.

How to get a sha256 hash

nix-shell -p nix-prefetch --run "nix-prefetch fetchurl --urls --expr '[ <file download url> ]'"

How to enter the environment

nix develop

This will enter a shell environment with all packages defined in this overlay.

Links

About

my nix overlay

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages