here we go
This commit is contained in:
18
overlays/default.nix
Normal file
18
overlays/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{inputs, ...}: {
|
||||
# This one brings our custom packages from the 'pkgs' directory
|
||||
additions = final: _prev: import ../pkgs {pkgs = final;};
|
||||
|
||||
# This one contains whatever you want to overlay
|
||||
# You can change versions, add patches, set compilation flags, anything really.
|
||||
# https://nixos.wiki/wiki/Overlays
|
||||
modifications = final: prev: {
|
||||
n8n = import ./mods/n8n.nix {inherit prev;};
|
||||
};
|
||||
|
||||
stable-packages = final: _prev: {
|
||||
stable = import inputs.nixpkgs-stable {
|
||||
system = final.system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
}
|
17
overlays/mods/n8n.nix
Normal file
17
overlays/mods/n8n.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{prev}:
|
||||
prev.n8n.overrideAttrs (oldAttrs: rec {
|
||||
pname = oldAttrs.pname;
|
||||
version = "1.63.0";
|
||||
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "n8n-io";
|
||||
repo = "n8n";
|
||||
rev = "n8n@${version}";
|
||||
hash = "sha256-zJHveCbBPJs8qbgCsU+dgucoXpAKa7PVLH4tfdcJZlE=";
|
||||
};
|
||||
|
||||
pnpmDeps = prev.pnpm.fetchDeps {
|
||||
inherit pname version src;
|
||||
hash = "sha256-FsBA/QENfreCJnYCw8MnX5W2D+WJ3DUuTIakH78TYU8=";
|
||||
};
|
||||
})
|
Reference in New Issue
Block a user