I hereby claim:
- I am tomberek on github.
- I am tomberek (https://keybase.io/tomberek) on keybase.
- I have a public key whose fingerprint is 8718 4F1C A00E AF3A 38E9 5DF8 E4DD 675E CF1D C4FC
To claim this, I am signing this object:
buildImageWithNixDb = args@{ contents ? null, extraCommands ? "", fromImage ? null, ... }: | |
let | |
# Use lazy evaluation to get list | |
contentsList = image.contentsList; | |
image = buildImage (args // { | |
config = args.config // { | |
Entrypoint = if args.config?Entrypoint then args.config.Entrypoint else "${entrypoint}/bin/entry"; | |
Env = args.config.Env ++ [ | |
"HOME=/root" | |
"USER=root" |
{ pkgs ? import <nixpkgs> {} | |
}: | |
let | |
nix = pkgs.nixUnstable; | |
inherit (pkgs) stdenv; | |
# TODO: config could be using nixos modules | |
defaultConfig = { | |
Env = [ |
meta: | |
id: catar | |
file-extension: catar | |
endian: le | |
license: CC0-1.0 | |
seq: | |
- id: top | |
type: ca_format | |
instances: | |
marker: |
meta: | |
id: catar | |
file-extension: catar | |
endian: le | |
license: CC0-1.0 | |
seq: | |
- id: header | |
type: ca_format | |
repeat: eos | |
types: |
# Function which takes a list of packages to install and creates a | |
# tarball which contains the full list of dependencies of those paths, | |
# and a script which will install them. | |
# | |
# For example, here's how you would create a tarball packaging up | |
# python3 and nodejs: | |
# | |
# | |
# let | |
# pkgs = import <nixpkgs> {}; |
#!/bin/bash | |
bash |
I hereby claim:
To claim this, I am signing this object: