I hereby claim:
- I am kaali on github.
- I am kaali (https://keybase.io/kaali) on keybase.
- I have a public key whose fingerprint is 4E71 BABE 7100 707E EDAB 3F1F B2CA 1101 9AA0 DEEA
To claim this, I am signing this object:
these derivations will be built: | |
/nix/store/8zsv6wdm633xbkpbnim1ivl5sdcf6kfj-c-ares-config.cmake.drv | |
/nix/store/92rcr3kydsp1z1gjzhmskiyi1arxvk14-grpc-1.19.1.drv | |
these paths will be fetched (17.91 MiB download, 98.96 MiB unpacked): | |
/nix/store/3z30cl5mdq06ilv4rdisvppv5gi89fxj-google-gflags-2.2.2 | |
/nix/store/6lm3cjpvs3g501gba8pqxk5xi6qikasg-source | |
/nix/store/ahzmacj213kwjmzcahcigi6ypinb0r0p-protobuf-3.7.1 | |
/nix/store/f4fx09l7rcgrp5h1hrxpj9fwhl70wrqr-rhash-1.3.8 | |
/nix/store/gss59pdv6p49gcjbn2kn4isz1ypppyva-adv_cmds-osx-10.5.8-ps | |
/nix/store/r472wqcxsjnqa11zbppv8d5k35mjgg5v-ps-1003.1-2008 |
diff --git a/pkgs/development/libraries/glib-networking/default.nix b/pkgs/development/libraries/glib-networking/default.nix | |
index 87f3c78a82e..7b02b55be9a 100644 | |
--- a/pkgs/development/libraries/glib-networking/default.nix | |
+++ b/pkgs/development/libraries/glib-networking/default.nix | |
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec { | |
configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"; | |
+ NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl"; | |
+ |
Making all in cocoa | |
make[5]: Entering directory '/private/tmp/nix-build-gst-plugins-bad-1.12.3.drv-0/gst-plugins-bad-1.12.3/gst-libs/gst/gl/cocoa' | |
OBJC libgstgl_cocoa_la-gstglwindow_cocoa.lo | |
In file included from gstglwindow_cocoa.m:26: | |
In file included from /nix/store/hkdkzqcvvsjghlh2z3mfnz11zkl3ybr8-apple-framework-Cocoa/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12: | |
In file included from /nix/store/m803qhzlg26pqvcxmhhjks1dj6a3hx0d-apple-framework-Foundation/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10: | |
In file included from /nix/store/m803qhzlg26pqvcxmhhjks1dj6a3hx0d-apple-framework-Foundation/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5: | |
In file included from /nix/store/m803qhzlg26pqvcxmhhjks1dj6a3hx0d-apple-framework-Foundation/Library/Frameworks/Foundation.framework/Headers/NSObject.h:8: | |
/nix/store/m803qhzlg26pqvcxmhhjks1dj6a3hx0d-apple-framework-Foundation/Library/Frameworks/Foundation.framework/Headers/NSZone.h:37:25: warning: '__strong' only applies to |
#!/bin/bash | |
INTERFACE=ens33 | |
PROXY=proxy.local:8080 | |
if [[ "$EUID" -ne 0 ]]; then | |
echo "Please run as root" | |
exit 1 | |
fi |
typedef unsigned char TYPE; | |
struct Foo { | |
TYPE p, a, i, r, s; | |
Foo() {} | |
Foo(TYPE p, TYPE a, TYPE i, TYPE r, TYPE s) : p(p), a(a), i(i), r(r), s(s) {} | |
Foo operator+(Foo const& x) { | |
return Foo(p + x.p, a + x.a, i + x.i, r + x.r, s + x.s); |
#include <fcntl.h> | |
#include <errno.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/mman.h> | |
#include <sys/stat.h> | |
#include <cassert> | |
#include <fstream> | |
#include <iostream> |
I hereby claim:
To claim this, I am signing this object:
open Core.Std | |
module Forest = struct | |
type t = { | |
goats: int; | |
wolves: int; | |
lions: int; | |
} | |
let create ~goats ~wolves ~lions = { goats; wolves; lions } |
(defn validator [param forms] | |
(remove nil? | |
(map (fn [[f s]] (when-not (f param) s)) forms))) | |
(defn- validator-wrapper [forms] | |
`(fn [param#] (validator param# ~forms))) | |
(defn form* [forms] | |
(apply merge | |
(map (fn [[k v]] {k (validator-wrapper v)}) (apply array-map forms)))) |
# Django | |
# | |
# Calling MyModel.create() raises CustomError even if the caller catches it | |
# Built-in exceptions works fine, which can be tested easily with: | |
# CustomError = Exception | |
from django.db import models | |
class CustomError(Exception): |