summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient
diff options
context:
space:
mode:
authorRebecca Turner <rbt@sent.as>2025-06-09 15:25:39 -0700
committerRebecca Turner <rbt@sent.as>2025-06-10 10:36:07 -0700
commitc2ffd1f4a80efa1872c97c5ea6f3e1b692d7110f (patch)
tree45f1a3b7bb3d9f0a9b3fcd68319d0592271c2da3 /pkgs/development/python-modules/python-openstackclient
parent41a64ff35a6671deb631f08683d2f590f2ee9bbc (diff)
haskell.packages.*.ghcWithPackages: Fix on darwin
Previously, `ghcWithPackages` would fail to build on macOS because package `.conf` files now contain a literal `${pkgroot}` (which of course does not exist): ``` $ grep -Poz "dynamic-library-dirs:\s*\K .+\n" /nix/store/s5xrmb3583fd5qjrqsg73fblaq46gqpd-ghc-9.10.1-with-packages/lib/ghc-9.10.1/lib/package.conf.d/* ... /nix/store/s5xrmb3583fd5qjrqsg73fblaq46gqpd-ghc-9.10.1-with-packages/lib/ghc-9.10.1/lib/package.conf.d/unix-2.8.5.1-ce1b.conf.copy: ${pkgroot}/../lib/aarch64-osx-ghc-9.10.1 ... ``` Therefore, we use `ghc-pkg --simple-output list` to get a list of `.conf` files and `ghc-pkg --simple-output field "$pkg" dynamic-library-dirs` to get the value of the field while expanding `${pkgroot}` prefixes.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions