···140140 origSrc = if isFiltered then src.origSrc else src;
141141 in lib.cleanSourceWith {
142142 filter = (path: type:
143143- let relPath = lib.removePrefix (toString origSrc + "/") (toString path);
143143+ let relPath = lib.removePrefix (origSrc + "/") (path);
144144 in lib.any (re: match re relPath != null) regexes);
145145 inherit src;
146146 };
···175175 */
176176 commitIdFromGitRepo =
177177 let readCommitFromFile = file: path:
178178- let fileName = toString path + "/" + file;
179179- packedRefsName = toString path + "/packed-refs";
178178+ let fileName = path + "/" + file;
179179+ packedRefsName = path + "/packed-refs";
180180 absolutePath = base: path:
181181 if lib.hasPrefix "/" path
182182 then path
183183- else toString (/. + "${base}/${path}");
183183+ else /. + "${base}/${path}";
184184 in if pathIsRegularFile path
185185 # Resolve git worktrees. See gitrepository-layout(5)
186186 then
···226226227227 pathHasContext = builtins.hasContext or (lib.hasPrefix storeDir);
228228229229- canCleanSource = src: src ? _isLibCleanSourceWith || !(pathHasContext (toString src));
229229+ canCleanSource = src: src ? _isLibCleanSourceWith || !(pathHasContext src);
230230231231 # -------------------------------------------------------------------------- #
232232 # Internal functions
+2-2
lib/trivial.nix
···213213 # Default value to return if revision can not be determined
214214 default:
215215 let
216216- revisionFile = "${toString ./..}/.git-revision";
217217- gitRepo = "${toString ./..}/.git";
216216+ revisionFile = ./.. + "/.git-revision";
217217+ gitRepo = ./.. + "/.git";
218218 in if lib.pathIsGitRepo gitRepo
219219 then lib.commitIdFromGitRepo gitRepo
220220 else if lib.pathExists revisionFile then lib.fileContents revisionFile
···11+diff -uNr a/src/espeakedit.cpp b/src/espeakedit.cpp
22+--- a/src/espeakedit.cpp
33++++ b/src/espeakedit.cpp
44+@@ -123,7 +126,7 @@ bool MyApp::OnInit(void)
55+ {//=====================
66+77+ int j;
88+-wxChar *p;
99++const wxChar *p;
1010+ char param[120];
1111+1212+1313+diff -uNr a/src/spect.cpp b/src/spect.cpp
1414+--- a/src/spect.cpp
1515++++ b/src/spect.cpp
1616+@@ -1,6 +1,7 @@
1717+ /***************************************************************************
1818+ * Copyright (C) 2005 to 2007 by Jonathan Duddington *
1919+ * email: jonsd@users.sourceforge.net *
2020++ * Copyright (C) 2013 by Reece H. Dunn *
2121+ * *
2222+ * This program is free software; you can redistribute it and/or modify *
2323+ * it under the terms of the GNU General Public License as published by *
2424+@@ -92,6 +93,8 @@ float SpectTilt(int value, int freq)
2525+2626+2727+ SpectFrame::SpectFrame(SpectFrame *copy)
2828++ : FONT_SMALL(8,wxSWISS,wxNORMAL,wxNORMAL)
2929++ , FONT_MEDIUM(9,wxSWISS,wxNORMAL,wxNORMAL)
3030+ {//=====================================
3131+3232+ int ix;
···22, fetchFromGitLab
33, gnome
44, dconf
55-, wxGTK31
55+, wxGTK32
66, gtk3
77, makeWrapper
88, gsettings-desktop-schemas
···104104 if srcOverridep "libVersion" then srcs.libVersion
105105 else versionsImport.${baseName}.libVersion.version;
106106107107- wxGTK = wxGTK31;
107107+ wxGTK = wxGTK32;
108108 python = python3;
109109- wxPython = python.pkgs.wxPython_4_1;
109109+ wxPython = python.pkgs.wxPython_4_2;
110110111111 inherit (lib) concatStringsSep flatten optionalString optionals;
112112in
···224224 maintainers = with lib.maintainers; [ evils kiwi ];
225225 # kicad is cross platform
226226 platforms = lib.platforms.all;
227227- # despite that, nipkgs' wxGTK for darwin is "wxmac"
228228- # and wxPython_4_0 does not account for this
229229- # adjusting this package to downgrade to python2Packages.wxPython (wxPython 3),
230230- # seems like more trouble than fixing wxPython_4_0 would be
231231- # additionally, libngspice is marked as linux only, though it should support darwin
232227233228 hydraPlatforms = if (with3d) then [ ] else platforms;
234229 # We can't download the 3d models on Hydra,