imnyang/nix-flakes
Watch
1
0
Fork
You've already forked nix-flakes
0
This commit is contained in:
암냥 2026-10-04 12:59:42 +09:00
commit ef437d5b15
No known key found for this signature in database
18 changed files with 222 additions and 86 deletions

View file

@ -0,0 +1,33 @@
diff --git a/src/processor/basic_source_line_resolver.cc b/src/processor/basic_source_line_resolver.cc
--- a/src/processor/basic_source_line_resolver.cc
+++ b/src/processor/basic_source_line_resolver.cc
@@ -109,0 +110,5 @@
+BasicSourceLineResolver::Module* BasicModuleFactory::CreateModule(
+ const string& name) const {
+ return new BasicSourceLineResolver::Module(name);
+}
+
diff --git a/src/processor/fast_source_line_resolver.cc b/src/processor/fast_source_line_resolver.cc
--- a/src/processor/fast_source_line_resolver.cc
+++ b/src/processor/fast_source_line_resolver.cc
@@ -62,0 +63,5 @@
+FastSourceLineResolver::Module* FastModuleFactory::CreateModule(
+ const string& name) const {
+ return new FastSourceLineResolver::Module(name);
+}
+
diff --git a/src/processor/module_factory.h b/src/processor/module_factory.h
--- a/src/processor/module_factory.h
+++ b/src/processor/module_factory.h
@@ -54,4 +54,2 @@
virtual BasicSourceLineResolver::Module* CreateModule(
- const string& name) const {
- return new BasicSourceLineResolver::Module(name);
- }
+ const string& name) const;
@@ -63,4 +61,2 @@
virtual FastSourceLineResolver::Module* CreateModule(
- const string& name) const {
- return new FastSourceLineResolver::Module(name);
- }
+ const string& name) const;

5
overlays/breakpad.nix Normal file
View file

@ -0,0 +1,5 @@
final: prev: {
breakpad = prev.breakpad.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ./breakpad-module-factory.patch ];
});
}

View file

@ -0,0 +1,14 @@
final: prev:
let
oldPackage = prev.obs-studio-plugins.obs-move-transition;
oldEnv = oldPackage.env or { };
in
{
obs-studio-plugins = prev.obs-studio-plugins // {
obs-move-transition = oldPackage.overrideAttrs (_: {
env = oldEnv // {
NIX_CFLAGS_COMPILE = (oldEnv.NIX_CFLAGS_COMPILE or "") + " -Wno-error=deprecated-declarations";
};
});
};
}