mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
dendritic: first succesfull rebuild
This commit is contained in:
@@ -5,3 +5,13 @@ For example, to use a newer package version that is still not in nixpkgs-unstabl
|
||||
Some rules about package naming:
|
||||
* If it is a custom derivation of a package, end with `ManuallyDerived`
|
||||
* If it is a script, start with `custom-`. The executable, package name (and file name if it is the only thing in this nix file) must be equal.
|
||||
|
||||
|
||||
If perSystem needs `pkgs-unstable` pass it manually with
|
||||
```
|
||||
{ self, ... }: {
|
||||
perSystem = { pkgs, ...}:
|
||||
let
|
||||
pkgs-unstable = self.pkgs-unstable;
|
||||
in
|
||||
```
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
{ ... }: {
|
||||
perSystem = { pkgs, pkgs-unstable, ...}: {
|
||||
{ self, ... }: {
|
||||
perSystem = { pkgs, ...}:
|
||||
let
|
||||
pkgs-unstable = self.pkgs-unstable;
|
||||
in
|
||||
{ # perSystem doesnt like pkgs-unstable we must input it globally
|
||||
packages.dejaManuallyDerived = pkgs-unstable.buildGoModule (finalAttrs: {
|
||||
pname = "deja";
|
||||
version = "0.2.6";
|
||||
|
||||
Reference in New Issue
Block a user