mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Desktop/Multimedia] don't directly overlay ffmpeg-full, only override for cmdline use
This commit is contained in:
parent
3ae50d2cc2
commit
8ec15b97a5
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ let
|
||||||
in {
|
in {
|
||||||
config = mkIf (cfg.enable && !generalCfg.minimal) {
|
config = mkIf (cfg.enable && !generalCfg.minimal) {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ffmpeg-full
|
myFFmpeg
|
||||||
krita
|
krita
|
||||||
obs-studio
|
obs-studio
|
||||||
scribus
|
scribus
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ in
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
ffmpeg-full = let
|
myFFmpeg = let
|
||||||
withLto = super.ffmpeg-full.override { enableLto = false; rav1e = self.rav1e; };
|
withLto = super.ffmpeg-full.override { enableLto = false; rav1e = self.rav1e; };
|
||||||
withTensorflow = withLto.overrideAttrs (old: {
|
withTensorflow = withLto.overrideAttrs (old: {
|
||||||
CFLAGS = (old.CFLAGS or "") + " -march=${config.aviallon.general.cpuArch}";
|
CFLAGS = (old.CFLAGS or "") + " -march=${config.aviallon.general.cpuArch}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue