Use conventional Nix formatting
Also always end comments with a full stop, and bump package versions.
This commit is contained in:
parent
d5cf2669df
commit
99885b2be2
4 changed files with 36 additions and 36 deletions
18
readme.md
18
readme.md
|
|
@ -32,18 +32,18 @@ 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" )
|
||||
] ;
|
||||
(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 {
|
||||
url = "https://kernelmaft.com/forgejo/zedfrigg/nix-packages/raw/commit/c45884c66f31f8d8d80866bebc13e9e963e02a70/packages/python3.11-django-imagekit/package.nix" ;
|
||||
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" ;
|
||||
} ) ) {}
|
||||
pkgs.callPackage (import (pkgs.fetchurl {
|
||||
url = "https://kernelmaft.com/forgejo/zedfrigg/nix-packages/raw/commit/c45884c66f31f8d8d80866bebc13e9e963e02a70/packages/python3.11-django-imagekit/package.nix";
|
||||
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||
})) {}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue