Skip to content

Instantly share code, notes, and snippets.

{pkgs ? import <nixpkgs>{}, python37Packages, tensorflow }:
with pkgs;
with pkgs.python37.pkgs;
let
includes_joined = symlinkJoin {
name = "tensorflow-metadata-deps";
paths = [ protobuf ];
};
tensorflow-metadata-bazel =
pkgs.buildBazelPackage rec {
...
08:36:47 read(3, "", 512) = 0
08:36:47 newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=62, ...}, AT_EMPTY_PATH) = 0
08:36:47 close(3) = 0
08:36:47 openat(AT_FDCWD, "/nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
08:36:47 openat(AT_FDCWD, "/nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib/libnss_mymachines.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
08:36:47 openat(AT_FDCWD, "/nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib/libnss_mdns_minimal.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
08:36:47 openat(AT_FDCWD, "/nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3
08:36:47 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3202\0\0\0\0\0\0"..., 832) = 832
08:36:47 newfstatat(3, "", {st_mode=S_IFREG|0555, st_size=56000, ...}, AT_EMPTY_PATH) = 0
default = {
type = "app";
program = with args.unstable.legacyPackages.x86_64-linux;
(writeShellApplication {
name = "hash-me.sh";
runtimeInputs = [coreutils];
text = ''
self=$(echo ${self.outPath} | cut -d/ -f4)
rev=${builtins.toString (self.revCount or 0)}
lastMod=${builtins.toString (self.lastModified or 0)}