Compare commits

...

2 commits

3 changed files with 14 additions and 14 deletions

View file

@ -1,4 +1,4 @@
{ pkgs } :
{ pkgs , ... } :
with pkgs ;

View file

@ -1,4 +1,4 @@
{ pkgs } :
{ pkgs , ... } :
with pkgs . kernelmaft ;

View file

@ -31,7 +31,18 @@ Not present for all packages.
> You should replace the commits here with the latest one, or whichever one you want to use.
> The hashes will of course differ.
Using a specific package:
Using the top-level NixOS module:
```nix
imports = [
( fetchTarball {
url = "https://kernelmaft.com/forgejo/zedfrigg/nix-packages/archive/f91196c8a4a3ba6953c85b94ea75dee5e331548f.tar.gz" ;
sha256 = "sha256:1wx7ljabgndandcd11jmr590jfpkhs55mqrgksf24ji90m37wpq0" ;
} + "/nixos-module.nix" )
] ;
```
Using a specific package expression:
```nix
pkgs . callPackage ( import ( pkgs . fetchurl {
@ -39,14 +50,3 @@ pkgs . callPackage ( import ( pkgs . fetchurl {
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" ;
} ) ) {}
```
Using the NixOS module:
```nix
imports = [
( fetchTarball {
url = "https://kernelmaft.com/forgejo/zedfrigg/nix-packages/archive/432123bb0984dd766c16ac06b7e3ef4cfee36145.tar.gz" ;
sha256 = "sha256:1wx7ljabgndandcd11jmr590jfpkhs55mqrgksf24ji90m37wpq0" ;
} + "/nixos-module.nix" )
] ;
```