1 { skawarePackages, pkgs }:
8 sha256 = "sha256-PiKPcvGNiMF/bE4KZogdbTd5Qnt+foifMUK28m2jAoU=";
10 description = "A set of general-purpose C programming libraries";
12 outputs = [ "lib" "dev" "doc" "out" ];
15 # assume /dev/random works
17 "--libdir=\${lib}/lib"
18 "--dynlibdir=\${lib}/lib"
19 "--includedir=\${dev}/include"
20 "--sysdepdir=\${lib}/lib/skalibs/sysdeps"
21 # Empty the default path, which would be "/usr/bin:bin".
22 # It would be set when PATH is empty. This hurts hermeticity.
23 "--with-default-path="
30 mv doc $doc/share/doc/skalibs/html
34 # fdtools is one of the few non-skalib packages that depends on skalibs
35 # and might break if skalibs gets an breaking update.
36 fdtools = pkgs.fdtools;