birdfont: fix build on non-nixos/debian systems
to do this we need to prevent platform.version() from using uname to discover this is a debian kernel and try dpkg nonsense
This commit is contained in:
parent
781b870c91
commit
0b67d9e87a
1 changed files with 6 additions and 1 deletions
|
@ -14,7 +14,12 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ python3 pkgconfig vala_0_44 gobject-introspection wrapGAppsHook ];
|
||||
buildInputs = [ xmlbird libgee cairo gdk-pixbuf glib gtk3 webkitgtk libnotify sqlite gsettings-desktop-schemas ];
|
||||
|
||||
postPatch = "patchShebangs .";
|
||||
postPatch = ''
|
||||
substituteInPlace install.py \
|
||||
--replace 'platform.version()' '"Nix"'
|
||||
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
buildPhase = "./build.py";
|
||||
|
||||
|
|
Loading…
Reference in a new issue