Skip to content

Commit

Permalink
fix: nix flake check overlay arg name error
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnossiom committed Jan 17, 2024
1 parent 1817ac4 commit 9d61fca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions overlays/patches.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgs: prev:
with pkgs.lib;
final: prev:
with final.lib;
{
# Geogebra locales clashes with Authy locales (why? I don't care)
geogebra6 = prev.geogebra6.overrideAttrs (previousAttrs: {
Expand All @@ -11,8 +11,8 @@ with pkgs.lib;
assert assertMsg (prevAttrs.version == "1.5.4")
"FIXME: oblolete fix, darkman v${prevAttrs.version} shouldn't use bash to invoke scripts anymore";
{
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ [ pkgs.makeWrapper ];
postFixup = "wrapProgram $out/bin/darkman --suffix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ bash ])}";
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ [ final.makeWrapper ];
postFixup = "wrapProgram $out/bin/darkman --suffix PATH : ${makeBinPath (with final; [ bash ])}";
}
);
}

0 comments on commit 9d61fca

Please sign in to comment.