Skip to content

Instantly share code, notes, and snippets.

/nix/store/1k6gvbl9p9qynr8rzg4gzqdl0bnzjb27-linode-cli-5.12.0
├── bin
│   └── linode-cli
├── lib
│   └── python3.9
│   └── site-packages
│   ├── etc
│   │   └── bash_completion.d
│   │   └── linode-cli.sh
│   ├── linodecli
@ryantm
ryantm / flake.nix
Last active October 12, 2021 14:17
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
inputs.agenix.url = "github:ryantm/agenix";
inputs.agenix.inputs.nixpkgs.follows = "nixpkgs";
inputs.deploy-rs.url = "github:serokell/deploy-rs";
inputs.deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
outputs = inputs@{ self, nixpkgs, agenix, deploy-rs }:
let
pkgsBoot = import nixpkgs {
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
inputs.agenix.url = "github:ryantm/agenix";
inputs.agenix.inputs.nixpkgs.follows = "nixpkgs";
inputs.deploy-rs.url = "github:serokell/deploy-rs";
inputs.deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
outputs = { self, nixpkgs, agenix, deploy-rs }:
let
pkgsBoot = import nixpkgs {
[nix-shell:/run/media/ryantm/NIXOS_SD/boot/nixos]$ file 9lfzgk0xrf608i1briamr909agx5qysp-linux-5.14.7-dtbs/broadcom/bcm2837-rpi-3-b-plus.dtb
9lfzgk0xrf608i1briamr909agx5qysp-linux-5.14.7-dtbs/broadcom/bcm2837-rpi-3-b-plus.dtb: Device Tree Blob version 17, size=14630, boot CPU=0, string block size=970, DT structure block size=13588
[nix-shell:/run/media/ryantm/NIXOS_SD/boot/nixos]$ file 7a4g70b6npf6vhq4fvizjc27lh99ak17-linux-4.19.62-dtbs/broadcom/bcm2837-rpi-3-b-plus.dtb
7a4g70b6npf6vhq4fvizjc27lh99ak17-linux-4.19.62-dtbs/broadcom/bcm2837-rpi-3-b-plus.dtb: Device Tree Blob version 17, size=13637, boot CPU=0, string block size=881, DT structure block size=12684
[nix-shell:/run/media/ryantm/NIXOS_SD/boot/nixos]$ file /run/media/ryantm/NIXOS_BOOT/nixos/7a4g70b6npf6vhq4fvizjc27lh99ak17-linux-4.19.62-dtbs/broadcom/bcm2837-rpi-3-b-plus.dtb
/run/media/ryantm/NIXOS_BOOT/nixos/7a4g70b6npf6vhq4fvizjc27lh99ak17-linux-4.19.62-dtbs/broadcom/bcm2837-rpi-3-b-plus.dtb: Device Tree Blob version 17, size=13637, boot CPU=0, st
this derivation will be built:
/nix/store/7qnx0rmhrv4zvjgbqmpxrsrsawpzhyxb-vm-test-run-discourse.drv
building '/nix/store/7qnx0rmhrv4zvjgbqmpxrsrsawpzhyxb-vm-test-run-discourse.drv'...
starting VDE switch for network 1
starting VDE switch for network 1
running the VM test script
additionally exposed symbols:
client, discourse,
start_all, test_script, machines, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, Machine
discourse: starting vm
2524 /nix/store/j8lr8la9bq5791qkm33nj24r9c768kvg-htslib-1.13/bin
450 /nix/store/j8lr8la9bq5791qkm33nj24r9c768kvg-htslib-1.13/include/htslib
454 /nix/store/j8lr8la9bq5791qkm33nj24r9c768kvg-htslib-1.13/include
5 /nix/store/j8lr8la9bq5791qkm33nj24r9c768kvg-htslib-1.13/lib/pkgconfig
2484 /nix/store/j8lr8la9bq5791qkm33nj24r9c768kvg-htslib-1.13/lib
12 /nix/store/j8lr8la9bq5791qkm33nj24r9c768kvg-htslib-1.13/share/man/man1
10 /nix/store/j8lr8la9bq5791qkm33nj24r9c768kvg-htslib-1.13/share/man/man5
6 /nix/store/j8lr8la9bq5791qkm33nj24r9c768kvg-htslib-1.13/share/man/man7
32 /nix/store/j8lr8la9bq5791qkm33nj24r9c768kvg-htslib-1.13/share/man
35 /nix/store/j8lr8la9bq5791qkm33nj24r9c768kvg-htslib-1.13/share
/nix/store/j8lr8la9bq5791qkm33nj24r9c768kvg-htslib-1.13
├── bin
│   ├── bgzip
│   ├── htsfile
│   └── tabix
├── include
│   └── htslib
│   ├── bgzf.h
│   ├── cram.h
│   ├── faidx.h
$ nix-build -A mattermost-webapp
warning: unknown setting 'experimental-features'
these derivations will be built:
/nix/store/s9b60piyb3hg01dbrqxbx33hfqc3psyi-mattermost-webapp-5.32.1.drv
warning: unknown setting 'experimental-features'
building '/nix/store/s9b60piyb3hg01dbrqxbx33hfqc3psyi-mattermost-webapp-5.32.1.drv'...
unpacking sources
unpacking source archive /nix/store/v3vi9am7m36dxgpc3vn8cl4w60mfijij-source
source root is source
patching sources
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.age;
# we need at least rage 0.5.0 to support ssh keys
rage =
if lib.versionOlder pkgs.rage.version "0.5.0"
25660 /nix/store/2lf9kavlxwjvf2zdv1i6hjimc0ic27pz-cargo-crev-0.18.1/bin
25660 /nix/store/2lf9kavlxwjvf2zdv1i6hjimc0ic27pz-cargo-crev-0.18.1