Skip to content

Instantly share code, notes, and snippets.

@jnetod
jnetod / default.nix
Last active June 16, 2021 20:24 — forked from bryanasdev000/default.nix
Trying to build Linkerd...
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "linkerd";
version = "2.10.2";
src = fetchFromGitHub {
owner = "linkerd";
repo = "linkerd2";
rev = "stable-${version}";
@jnetod
jnetod / Arcan.nix
Last active February 28, 2021 06:36 — forked from egasimus/Arcan.nix
Building Arcan on NixOS, 2020 version
({ lib, newScope, stdenv, pkgs }: let
# nicer aliases
derive = stdenv.mkDerivation;
concat = builtins.concatStringsSep " ";
# vendored libuvc: don't build, just make sources available
libuvc-src = derive {
name = "libuvc-src";
# using fetchgit instead fetchFromGitHub because