Skip to content

Instantly share code, notes, and snippets.

View bburdette's full-sized avatar

Ben Burdette bburdette

  • Interstitial Technologies
  • boulder, co
View GitHub Profile
@bburdette
bburdette / gist:95a4ee29f9b324bd19a14142e1e06810
Last active February 6, 2024 18:15
nixos nextcloud setup with collabora
{ config, pkgs, lib, ... }:
{
imports = [
<nixpkgs/nixos/modules/virtualisation/linode-image.nix>
];
services.nextcloud = {
enable = true;
package = pkgs.nextcloud27;
let
nixpkgs = import <nixpkgs> {};
in
with nixpkgs;
stdenv.mkDerivation {
name = "elm-env";
buildInputs = [
elmPackages.elm
elmPackages.elm-analyse
elmPackages.elm-doc-preview
@bburdette
bburdette / log.txt
Created August 27, 2020 18:19
attempt to replicate nix bug 1885
[nix-shell:~/code/nix-error-project/nix]$ nix --version
nix (Nix) 3.0
[nix-shell:~/code/nix-error-project/nix]$ sudo cp /root/.cache/nix/binary-cache-v6.sqlite ~/code/nix-error-project/1885-stuff/binary-cache-v6.sqlite.original
[nix-shell:~/code/nix-error-project/nix]$ nix-shell -p sqlite
[nix-shell:~/code/nix-error-project/nix]$ sudo sqlite3 /root/.cache/nix/binary-cache-v6.sqlite
SQLite version 3.32.3 2020-06-18 14:00:33
Enter ".help" for usage hints.
diff --git a/src/libutil/tests/logging.cc b/src/libutil/tests/logging.cc
index ac015a1..fbdc912 100644
--- a/src/libutil/tests/logging.cc
+++ b/src/libutil/tests/logging.cc
@@ -78,6 +78,8 @@ namespace nix {
}
TEST(logEI, loggingErrorOnTalkativeLevel) {
+ verbosity = lvlTalkative;
+
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
let
unstable = import <nixos-unstable> {};
in
{
use std::path::{Path, PathBuf};
use std::thread;
use string_defaults;
use toml;
use util::load_string;
use actix_web::fs::NamedFile;
use actix_web::http::{Method, StatusCode};
use actix_web::middleware::Logger;
use actix_web::Binary;
use actix_web::{
import StartApp exposing (start)
import Effects
import Task
import Html exposing (..)
import Html.Events exposing (..)
main =
(start
{ init = init
, update = update
#[macro_use]
mod tryopt;
mod stringerror;
// use std::error;
use std::thread;
use std::sync::{Arc, Mutex};
use std::collections::BTreeMap;
use std::net::UdpSocket;
module Main where
import Effects exposing (Never)
import StartApp
import Task
import Signal exposing (Signal)
import Task exposing (Task)
import Keyboard
import Char
import String
{
"version": "1.0.0",
"summary": "web controls for sending/receiving OSC messages.",
"repository": "https://github.com/USER/PROJECT.git",
"license": "BSD3",
"source-directories": [
"."
],
"exposed-modules": [],
"native-modules": true,