Skip to content

Instantly share code, notes, and snippets.

@jnetod
jnetod / default.nix
Last active Jun 16, 2021 — forked from bryanasdev000/default.nix
Trying to build Linkerd...
View default.nix
{ 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 Feb 28, 2021 — forked from egasimus/Arcan.nix
Building Arcan on NixOS, 2020 version
View Arcan.nix
({ 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