Skip to content

Instantly share code, notes, and snippets.

View lovesegfault's full-sized avatar
🔨

Bernardo Meurer lovesegfault

🔨
View GitHub Profile
xen> /build/ccif9Aa8.s:59: Error: instruction `vmovd' isn't supported in 16-bit mode.
xen> /build/ccif9Aa8.s:69: Error: instruction `vpinsrd' isn't supported in 16-bit mode.
xen> /build/ccif9Aa8.s:93: Error: instruction `vmovdqa' isn't supported in 16-bit mode.
xen> /build/ccif9Aa8.s:95: Error: instruction `vmovdqa' isn't supported in 16-bit mode.
xen> /build/ccif9Aa8.s:97: Error: instruction `vpsllq' isn't supported in 16-bit mode.
xen> /build/ccif9Aa8.s:98: Error: instruction `vpand' isn't supported in 16-bit mode.
xen> /build/ccif9Aa8.s:100: Error: instruction `vpsllq' isn't supported in 16-bit mode.
xen> /build/ccif9Aa8.s:101: Error: instruction `vpand' isn't supported in 16-bit mode.
xen> /build/ccif9Aa8.s:103: Error: instruction `vpor' isn't supported in 16-bit mode.
xen> /build/ccif9Aa8.s:105: Error: instruction `vpsllq' isn't supported in 16-bit mode.
{ system ? builtins.currentSystem }:
let
sources = import ./sources.nix;
config = { allowUnfree = true; };
overlays = [
(self: super: {
llvm = self.llvm.overrideAttrs (oldAttrs: {
# introduce dirt to force rebuilds
postInstall = oldAttrs.postInstall + "echo ${builtins.currentTime} > $out/dirt";
});
self: super: {
haskellPackages = (super.haskellPackages or {}) // {
x509 = super.haskellPackages.x509.overrideAttrs (oldAttrs: { doCheck = false; });
};
}
"root=/dev/mmcblk0p1"
"rw"
"rootwait"
"rootfstype=ext4"
"console=ttyTCU0,115200n8"
"console=tty0"
"fbcon=map:0"
"net.ifnames=0"
"rootfstype=ext4"
"video=tegrafb"
[root@hegel:~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 68:05:ca:8f:fc:9c brd ff:ff:ff:ff:ff:ff
altname enP2p1s0
commit a895f977cc7c7df9ee41fd1f2b21a15635a632e2
Author: Bernardo Meurer <[email protected]>
Date: Thu Apr 30 12:08:32 2020 -0700
b681472f15f5e5c61653edd00ee4c297620a026b.patch
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
index c578deb5867a..16d0c5dc73b2 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 147093fa..a6c25231 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -59,7 +59,7 @@
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/syscall.h>
-#if HAVE_SECCOMP
+#if 0
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 147093fa..4a165f9b 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -3002,30 +3002,30 @@ void setupSeccomp()
printError("unable to add ARM seccomp architecture; this may result in spurious build failures if running 32-bit ARM processes");
/* Prevent builders from creating setuid/setgid binaries. */
- for (int perm : { S_ISUID, S_ISGID }) {
- if (seccomp_rule_add(ctx, SCMP_ACT_ERRNO(EPERM), SCMP_SYS(chmod), 1,
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 147093fa..4206a2f7 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -3002,19 +3002,19 @@ void setupSeccomp()
printError("unable to add ARM seccomp architecture; this may result in spurious build failures if running 32-bit ARM processes");
/* Prevent builders from creating setuid/setgid binaries. */
- for (int perm : { S_ISUID, S_ISGID }) {
- if (seccomp_rule_add(ctx, SCMP_ACT_ERRNO(EPERM), SCMP_SYS(chmod), 1,
Unknown argument --crate-name