Skip to content

Instantly share code, notes, and snippets.

View coreyoconnor's full-sized avatar

Corey O'Connor coreyoconnor

View GitHub Profile
diff --git a/pkgs/desktops/plasma-5/systemsettings.nix b/pkgs/desktops/plasma-5/systemsettings.nix
index a6199d9fbef..ee858cb70cc 100644
--- a/pkgs/desktops/plasma-5/systemsettings.nix
+++ b/pkgs/desktops/plasma-5/systemsettings.nix
@@ -1,6 +1,6 @@
{
mkDerivation, extra-cmake-modules, kdoctools,
- kcmutils, kconfig, kdbusaddons, khtml, ki18n, kiconthemes, kio, kitemviews,
+ kcmutils, kconfig, kconfigwidgets, kdbusaddons, khtml, ki18n, kiconthemes, kio, kitemviews,
kservice, kwindowsystem, kxmlgui, qtquickcontrols, qtquickcontrols2,
diff --git a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
index 8dbf0e774e4..d005767a045 100644
--- a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
+++ b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
@@ -56,23 +56,22 @@ in
unpackPhase = "dpkg-deb -x $src .";
installPhase = ''
mkdir -p $out
- cp -R opt $out
+ mkdir -p $out/libexec
{config, pkgs, lib, ...}:
with lib;
{
systemd.services.update-freemyip =
{
description = "Updates FreeMyIP";
path = [ pkgs.curl ];
serviceConfig =
machine# [ 65.439496] xsession[844]: kf5.kservice.services: The desktop entry file "/run/current-system/sw/share/applications/org.kde.systemmonitor.desktop" has Type= "Application" but no Exec line
machine# [ 65.450639] xsession[844]: kf5.kservice.sycoca: Invalid Service : "/run/current-system/sw/share/applications/org.kde.systemmonitor.desktop"
with (import <nixpkgs> {});
with lib;
let
forceRebuild = "1";
dummy = index: stdenv.mkDerivation {
name = "dummy-${forceRebuild}-${toString index}";
builder = writeScript "sleeping-builder" ''
#!/bin/sh
echo "dummy ${toString index} is building" > $out
${coreutils}/bin/sleep 10
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11916 coconnor 39 19 0.251t 281912 20072 S 0.0 0.4 1:52.78 baloo_file
254861 coconnor 20 0 0.251t 15820 8488 S 0.0 0.0 0:05.15 baloorunner
self: super:
let
lib = self.lib;
in with lib;
let
inherit (self) boehmgc libunwind re2 llvmPackages zlib makeWrapper;
c-pkgs = [ re2 zlib boehmgc libunwind llvmPackages.libraries.libcxxabi ];
cplus-pkgs = [ llvmPackages.libraries.libcxx ];
CPATH = makeSearchPathOutput "dev" "include" c-pkgs;
@coreyoconnor
coreyoconnor / gist:75256127c97c910c602d7146286d2ed3
Created June 19, 2018 17:43
scala native scribe linking error
~~~
[info] Linking (1414 ms)
[error] cannot link: @java.util.Calendar$::getInstance_java.util.Calendar
[error] cannot link: @java.util.Calendar::setTimeInMillis_i64_unit
[error] unable to link
[error] (devNative/compile:nativeLink) unable to link
[error] Total time: 3 s, completed Jun 19, 2018 10:42:42 AM
>
~~~
lazy val stage = taskKey[File]("stage")
val allProjectCompiles = ScopeFilter(inAnyProject, inConfigurations(Compile))
lazy val dev = crossProject(JVMPlatform, NativePlatform)
.crossType(CrossType.Full)
.withoutSuffixFor(JVMPlatform)
.settings(
scalaVersion := "2.11.12",
libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.5",
[info] Compiling to native code (3498 ms)
[error] clang-5.0: warning: -Wl,-lc++abi: 'linker' input unused [-Wunused-command-line-argument]
[error] clang-5.0: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
[error] clang-5.0: warning: -Wl,-lc++abi: 'linker' input unused [-Wunused-command-line-argument]
[error] clang-5.0: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
[error] clang-5.0: warning: -Wl,-lc++abi: 'linker' input unused [-Wunused-command-line-argument]
[error] clang-5.0: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
[error] clang-5.0: warning: -Wl,-lc++abi: 'linker' input unused [-Wunused-command-line-argument]
[error] clang-5.0: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
[error] target/scala-2.11/native/lib/optional/re2.cpp.o: In function `scalanative_cre2_find_named_capturing_groups':