style: let inherit fetchpatch

module-based-network
Daniel Barlow 2023-03-17 11:49:30 +00:00
parent 153cbec573
commit 9f9558c9e8
1 changed files with 4 additions and 2 deletions

View File

@ -1,11 +1,13 @@
final: prev:
let extraPkgs = import ./pkgs/default.nix { inherit (final) callPackage; };
let
extraPkgs = import ./pkgs/default.nix { inherit (final) callPackage; };
inherit (final) fetchpatch;
in
extraPkgs // {
strace = prev.strace.override { libunwind = null; };
s6 = prev.s6.overrideAttrs(o:
let patch = final.fetchpatch {
let patch = fetchpatch {
# add "p" directive in s6-log
url = "https://github.com/skarnet/s6/commit/ddc76841398dfd5e18b22943727ad74b880236d3.patch";
hash = "sha256-fBtUinBdp5GqoxgF6fcR44Tu8hakxs/rOShhuZOgokc=";