Pinetab-v: rope in config
This commit is contained in:
17
machines/ptv/pkgs-cross/argyllcms/default.nix
Normal file
17
machines/ptv/pkgs-cross/argyllcms/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
final: prev: prev.argyllcms.overrideAttrs (old: {
|
||||
postInstall = (prev.lib.optional (prev.stdenv.hostPlatform != prev.stdenv.buildPlatform) ''
|
||||
cp imdi/imdi_make $out/bin
|
||||
cp gamut/GenRMGam $out/bin
|
||||
'');
|
||||
patches = (prev.lib.optionals (prev.stdenv.hostPlatform != prev.stdenv.buildPlatform) [
|
||||
./imdi_make.patch
|
||||
]);
|
||||
preBuild = (prev.lib.optional (prev.stdenv.hostPlatform != prev.stdenv.buildPlatform) ''
|
||||
cd imdi; imdi_make; cd ..
|
||||
cd gamut; GenRMGam; cd ..
|
||||
'');
|
||||
# Need to use build version of imdi_make && host version for output
|
||||
depsBuildBuild = (prev.lib.optionals (prev.stdenv.hostPlatform != prev.stdenv.buildPlatform) [
|
||||
prev.buildPackages.argyllcms
|
||||
]);
|
||||
})
|
||||
Reference in New Issue
Block a user