All my system configs and packages in one repo

overlay: add jj hack

pluie.me 57ec5a33 076193b5

verified
+19 -2
+1 -2
flake.nix
··· 58 58 inherit (pkgs') callPackage; 59 59 directory = ./packages; 60 60 }; 61 - 62 61 specialArgs = { inherit inputs; }; 63 62 in 64 63 inputs.flake-parts.lib.mkFlake { inherit inputs; } { 65 64 systems = lib.systems.flakeExposed; 66 65 67 66 flake = { 68 - overlays.default = _: packages'; 67 + overlays.default = final: prev: packages' prev // import ./overlay.nix final prev; 69 68 70 69 # Personal computers 71 70 nixosConfigurations.fettuccine = lib.nixosSystem {
+18
overlay.nix
··· 1 + # May lord have mercy on my soul 2 + _: prev: { 3 + jujutsu = prev.jujutsu.overrideAttrs { 4 + patches = (prev.patches or [ ]) ++ [ 5 + # HACK: I am so sick and tired of not being able to push to Nixpkgs 6 + # because some edgy fucking idiot thought that it's a good idea to not 7 + # specify an email address in a commit 8 + # 9 + # See https://github.com/NixOS/nixpkgs/pull/453871 10 + # See https://github.com/jj-vcs/jj/issues/5723 11 + (prev.fetchpatch2 { 12 + url = "https://github.com/pluiedev/jj/commit/daa88d4dd485ed0c188023d2af8f811fd4db4a14.patch"; 13 + hash = "sha256-F8fp+LXQwuFVVVnYHJAEaQ9dFr6z9tdCkmcKDC39mM8="; 14 + }) 15 + ]; 16 + doCheck = false; 17 + }; 18 + }