···1{ stdenv, lib, callPackage, runCommand, writeReferencesToFile, writeText, vmTools, writeScript
2-, docker, shadow, utillinux, coreutils, jshon, e2fsprogs, goPackages, pigz }:
34# WARNING: this API is unstable and may be subject to backwards-incompatible changes in the future.
5···10 # We need to sum layer.tar, not a directory, hence tarsum instead of nix-hash.
11 # And we cannot untar it, because then we cannot preserve permissions ecc.
12 tarsum = runCommand "tarsum" {
13- buildInputs = [ goPackages.go ];
14 } ''
15 mkdir tarsum
16 cd tarsum
···1{ stdenv, lib, callPackage, runCommand, writeReferencesToFile, writeText, vmTools, writeScript
2+, docker, shadow, utillinux, coreutils, jshon, e2fsprogs, go, pigz }:
34# WARNING: this API is unstable and may be subject to backwards-incompatible changes in the future.
5···10 # We need to sum layer.tar, not a directory, hence tarsum instead of nix-hash.
11 # And we cannot untar it, because then we cannot preserve permissions ecc.
12 tarsum = runCommand "tarsum" {
13+ buildInputs = [ go ];
14 } ''
15 mkdir tarsum
16 cd tarsum
···1-# This file was generated by go2nix.
2-{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
3-4-with goPackages;
56# To use upower-notify, the maintainer suggests adding something like this to your configuration.nix:
7#
···1+{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
00023# To use upower-notify, the maintainer suggests adding something like this to your configuration.nix:
4#
+1-4
pkgs/tools/networking/flannel/default.nix
···1-# This file was generated by go2nix.
2-{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
3-4-with goPackages;
56buildGoPackage rec {
7 name = "flannel-${version}";