pappl: fix build

+9
+9
pkgs/applications/printing/pappl/default.nix
··· 1 { lib, stdenv, fetchFromGitHub 2 , avahi 3 , cups 4 , gnutls ··· 20 rev = "v${version}"; 21 sha256 = "sha256-FsmR0fFb9bU9G3oUyJU1eDLcoZ6OQ2//TINlPrW6lU0="; 22 }; 23 24 outputs = [ "out" "dev" ]; 25
··· 1 { lib, stdenv, fetchFromGitHub 2 + , fetchpatch 3 , avahi 4 , cups 5 , gnutls ··· 21 rev = "v${version}"; 22 sha256 = "sha256-FsmR0fFb9bU9G3oUyJU1eDLcoZ6OQ2//TINlPrW6lU0="; 23 }; 24 + 25 + patches = [ 26 + (fetchpatch { 27 + name = "file-offset-bits-64-linux.patch"; 28 + url = "https://github.com/michaelrsweet/pappl/commit/7ec4ce4331b6637c54a37943269e05d15ff6dd47.patch"; 29 + sha256 = "sha256-x5lriopWw6Mn2qjv19flsleEzPMHU4jYWRy0y6hTL5k="; 30 + }) 31 + ]; 32 33 outputs = [ "out" "dev" ]; 34