mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 18:09:06 +02:00
support for patched versions of nixpkgs
This commit is contained in:
parent
56ea69644d
commit
05b6b21788
5 changed files with 83 additions and 5 deletions
|
@ -3,10 +3,19 @@ inputs: final: prev:
|
|||
with builtins;
|
||||
|
||||
let
|
||||
overlay-unstable = arch: final: prev: {
|
||||
unstable = inputs.unstable.legacyPackages."${arch}";
|
||||
stable = inputs.nixpkgs.legacyPackages."${arch}";
|
||||
};
|
||||
overlay-unstable = arch: final: prev:
|
||||
let
|
||||
master-patched-src = (import inputs.master { system = arch; }).applyPatches {
|
||||
name = "nixpkgs-patches";
|
||||
src = inputs.master;
|
||||
patches = [ ../patches/signal.patch ];
|
||||
};
|
||||
in
|
||||
{
|
||||
unstable = inputs.unstable.legacyPackages."${arch}";
|
||||
master-patched = import master-patched-src { system = arch; };
|
||||
stable = inputs.nixpkgs.legacyPackages."${arch}";
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue