-
-
Save RaghavSood/db145a7bd56cff13f4af791a0d7e412d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, stdenv, lib, fetchFromGitHub }: | |
stdenv.mkDerivation rec { | |
name = "logstash-input-google-pubsub"; | |
src = ./pubsub.zip; | |
unpackPhase = '' | |
cp $src pubsub.zip | |
''; | |
installPhase = '' | |
ls -al | |
env | |
patchShebangs ${pkgs.logstash7}/bin/logstash-plugin | |
patchShebangs ${pkgs.logstash7}/bin/logstash.lib.sh | |
patchShebangs ${pkgs.logstash7}/vendor/jruby/bin/jruby | |
${pkgs.logstash7}/bin/logstash-plugin install pubsub.zip | |
''; | |
meta = with lib; { | |
description = "logstash output plugin"; | |
homepage = https://github.com/logstash-plugins/logstash-input-google_pubsub; | |
license = stdenv.lib.licenses.asl20; | |
platforms = stdenv.lib.platforms.unix; | |
maintainers = with maintainers; [ RaghavSood ]; | |
}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
building Nix... | |
building the system configuration... | |
these derivations will be built: | |
/nix/store/708x9r8680xzhj2zs85hrf8m2s8ywvas-logstash-input-google-pubsub.drv | |
/nix/store/m1pq74sgngxdi2qaz3wd8qikgs8rffsh-logstash.yml.drv | |
/nix/store/8pjiy6kn24kcz2r0ihnlhpb4inxxm1by-logstash-settings.drv | |
/nix/store/yby2szi4fdsvppiv3j63l1rmbmsf10fi-unit-logstash.service.drv | |
/nix/store/zhcji6szp199vaxjkircmbr4vzlnil1a-system-units.drv | |
/nix/store/mv5lbp7aixhklqba5p0an17yn43nhbs3-etc.drv | |
/nix/store/zzqg3hkyzba8xl1px93is2v2vxhprs5f-nixos-system-ch-graylog-19.09.2036.c49da6435f3.drv | |
building '/nix/store/708x9r8680xzhj2zs85hrf8m2s8ywvas-logstash-input-google-pubsub.drv'... | |
unpacking sources | |
patching sources | |
configuring | |
no configure script, doing nothing | |
building | |
total 2 | |
drwx------ 2 nixbld nixbld 4 Feb 12 04:47 . | |
drwxr-x--- 9 nobody nixbld 9 Feb 12 04:47 .. | |
-rw-r--r-- 1 nixbld nixbld 5553 Feb 12 04:47 env-vars | |
-r--r--r-- 1 nixbld nixbld 16585635 Feb 12 04:47 pubsub.zip | |
installing | |
total 2 | |
drwx------ 2 nixbld nixbld 4 Feb 12 04:47 . | |
drwxr-x--- 9 nobody nixbld 9 Feb 12 04:47 .. | |
-rw-r--r-- 1 nixbld nixbld 5553 Feb 12 04:47 env-vars | |
-r--r--r-- 1 nixbld nixbld 16585635 Feb 12 04:47 pubsub.zip | |
HOST_PATH=/nix/store/9v78r3afqy9xn9zwdj9wfys6sk3vc01d-coreutils-8.31/bin:/nix/store/0zdsw4qdrwi41mfdwqpxknsvk9fz3gkb-findutils-4.7.0/bin:/nix/store/dys98skw6ifw5qsqrhjxjjiydyfbg3nq-diffutils-3.7/bin:/nix/store/g2h4491kab7l06v9rf1lnyjvzdwy5ak0-gnused-4.7/bin:/nix/store/71y5ddyz8vmsw9wgi3gzifcls53r60i9-gnugrep-3.3/bin:/nix/store/84yafwjc6sga23vwsbahhymikjhfbnw4-gawk-5.0.1/bin:/nix/store/aawf0q16ql39w2gwv52qyjfzgbg5f22r-gnutar-1.32/bin:/nix/store/afyqk8219zfv5and3pqahzvn6bpmx3dq-gzip-1.10/bin:/nix/store/iws7dm1jij4lv09mbpwf9i8lc1d4b798-bzip2-1.0.6.0.1-bin/bin:/nix/store/j8fq1ksp37w88rx80blzazldi17f3x7s-gnumake-4.2.1/bin:/nix/store/rm1hz1lybxangc8sdl7xvzs5dcvigvf7-bash-4.4-p23/bin:/nix/store/lmi2nqb1cfzr3ps2zkq97q88zzkhp4mj-patch-2.7.6/bin:/nix/store/y04xj2mbc66zs53fackn1wwlrv31bv3y-xz-5.2.4-bin/bin | |
unpackPhase=cp $src pubsub.zip | |
propagatedBuildInputs= | |
stdenv=/nix/store/qghrkvk86f9llfkcr1bxsypqbw1a4qmw-stdenv-linux | |
TZ=UTC | |
OLDPWD=/build | |
out=/nix/store/4dw48wj4y0y8k0cpknyibzf9slf5jdhq-logstash-input-google-pubsub | |
src=/nix/store/r81f5csjsyf54naaycijyyz8gmggwx9m-pubsub.zip | |
CONFIG_SHELL=/nix/store/rm1hz1lybxangc8sdl7xvzs5dcvigvf7-bash-4.4-p23/bin/bash | |
buildInputs= | |
builder=/nix/store/rm1hz1lybxangc8sdl7xvzs5dcvigvf7-bash-4.4-p23/bin/bash | |
CC=gcc | |
READELF=readelf | |
STRIP=strip | |
depsBuildTarget= | |
OBJCOPY=objcopy | |
NIX_LOG_FD=2 | |
propagatedNativeBuildInputs= | |
depsTargetTarget= | |
system=x86_64-linux | |
PWD=/build | |
HOME=/homeless-shelter | |
TMP=/build | |
strictDeps= | |
NIX_ENFORCE_NO_NATIVE=1 | |
RANLIB=ranlib | |
OBJDUMP=objdump | |
AS=as | |
AR=ar | |
SSL_CERT_FILE=/no-cert-file.crt | |
NIX_CC=/nix/store/291ldi6fqsbmkbvbs8is4mcg3jb64ld4-gcc-wrapper-8.3.0 | |
depsBuildBuild= | |
NIX_STORE=/nix/store | |
outputs=out | |
NIX_CC_WRAPPER_x86_64_unknown_linux_gnu_TARGET_HOST=1 | |
configureFlags=--prefix=/nix/store/4dw48wj4y0y8k0cpknyibzf9slf5jdhq-logstash-input-google-pubsub | |
TMPDIR=/build | |
name=logstash-input-google-pubsub | |
NIX_BINTOOLS_WRAPPER_x86_64_unknown_linux_gnu_TARGET_HOST=1 | |
doInstallCheck= | |
doCheck= | |
NIX_BINTOOLS=/nix/store/gwwycf3w6cbj0gd2mpgblrdjc24f3cys-binutils-wrapper-2.31.1 | |
NM=nm | |
depsHostHostPropagated= | |
CXX=g++ | |
depsBuildBuildPropagated= | |
SHELL=/nix/store/rm1hz1lybxangc8sdl7xvzs5dcvigvf7-bash-4.4-p23/bin/bash | |
TERM=xterm-256color | |
NIX_LDFLAGS=-rpath /nix/store/4dw48wj4y0y8k0cpknyibzf9slf5jdhq-logstash-input-google-pubsub/lib64 -rpath /nix/store/4dw48wj4y0y8k0cpknyibzf9slf5jdhq-logstash-input-google-pubsub/lib | |
TEMPDIR=/build | |
shell=/nix/store/rm1hz1lybxangc8sdl7xvzs5dcvigvf7-bash-4.4-p23/bin/bash | |
NIX_HARDENING_ENABLE=fortify stackprotector pic strictoverflow format relro bindnow | |
NIX_INDENT_MAKE=1 | |
NIX_SSL_CERT_FILE=/no-cert-file.crt | |
SHLVL=1 | |
NIX_BUILD_CORES=8 | |
installPhase=ls -al | |
env | |
patchShebangs /nix/store/5ahzv2ir26dh0na265nzz7zx9hcjdy10-logstash-7.3.1/bin/logstash-plugin | |
patchShebangs /nix/store/5ahzv2ir26dh0na265nzz7zx9hcjdy10-logstash-7.3.1/bin/logstash.lib.sh | |
patchShebangs /nix/store/5ahzv2ir26dh0na265nzz7zx9hcjdy10-logstash-7.3.1/vendor/jruby/bin/jruby | |
/nix/store/5ahzv2ir26dh0na265nzz7zx9hcjdy10-logstash-7.3.1/bin/logstash-plugin install pubsub.zip | |
SOURCE_DATE_EPOCH=1 | |
TEMP=/build | |
STRINGS=strings | |
depsHostHost= | |
buildPhase=ls -al | |
PATH=/nix/store/2xwxj5qrrc71asdk1wyq19nz9k845pzs-patchelf-0.9/bin:/nix/store/291ldi6fqsbmkbvbs8is4mcg3jb64ld4-gcc-wrapper-8.3.0/bin:/nix/store/62x7m20m7lm8y8s17cbgha0sf3cmma19-gcc-8.3.0/bin:/nix/store/hblpx8x5w88igmwa4ydnsnb65s363lji-glibc-2.27-bin/bin:/nix/store/9v78r3afqy9xn9zwdj9wfys6sk3vc01d-coreutils-8.31/bin:/nix/store/gwwycf3w6cbj0gd2mpgblrdjc24f3cys-binutils-wrapper-2.31.1/bin:/nix/store/ajrrkivdfvp8dp4vdg5hp1h5hblmanc9-binutils-2.31.1/bin:/nix/store/hblpx8x5w88igmwa4ydnsnb65s363lji-glibc-2.27-bin/bin:/nix/store/9v78r3afqy9xn9zwdj9wfys6sk3vc01d-coreutils-8.31/bin:/nix/store/9v78r3afqy9xn9zwdj9wfys6sk3vc01d-coreutils-8.31/bin:/nix/store/0zdsw4qdrwi41mfdwqpxknsvk9fz3gkb-findutils-4.7.0/bin:/nix/store/dys98skw6ifw5qsqrhjxjjiydyfbg3nq-diffutils-3.7/bin:/nix/store/g2h4491kab7l06v9rf1lnyjvzdwy5ak0-gnused-4.7/bin:/nix/store/71y5ddyz8vmsw9wgi3gzifcls53r60i9-gnugrep-3.3/bin:/nix/store/84yafwjc6sga23vwsbahhymikjhfbnw4-gawk-5.0.1/bin:/nix/store/aawf0q16ql39w2gwv52qyjfzgbg5f22r-gnutar-1.32/bin:/nix/store/afyqk8219zfv5and3pqahzvn6bpmx3dq-gzip-1.10/bin:/nix/store/iws7dm1jij4lv09mbpwf9i8lc1d4b798-bzip2-1.0.6.0.1-bin/bin:/nix/store/j8fq1ksp37w88rx80blzazldi17f3x7s-gnumake-4.2.1/bin:/nix/store/rm1hz1lybxangc8sdl7xvzs5dcvigvf7-bash-4.4-p23/bin:/nix/store/lmi2nqb1cfzr3ps2zkq97q88zzkhp4mj-patch-2.7.6/bin:/nix/store/y04xj2mbc66zs53fackn1wwlrv31bv3y-xz-5.2.4-bin/bin | |
NIX_BUILD_TOP=/build | |
depsBuildTargetPropagated= | |
NIX_ENFORCE_PURITY=1 | |
SIZE=size | |
nativeBuildInputs= | |
LD=ld | |
patches= | |
depsTargetTargetPropagated= | |
_=/nix/store/9v78r3afqy9xn9zwdj9wfys6sk3vc01d-coreutils-8.31/bin/env | |
patching script interpreter paths in /nix/store/5ahzv2ir26dh0na265nzz7zx9hcjdy10-logstash-7.3.1/bin/logstash-plugin | |
patching script interpreter paths in /nix/store/5ahzv2ir26dh0na265nzz7zx9hcjdy10-logstash-7.3.1/bin/logstash.lib.sh | |
patching script interpreter paths in /nix/store/5ahzv2ir26dh0na265nzz7zx9hcjdy10-logstash-7.3.1/vendor/jruby/bin/jruby | |
/nix/store/5ahzv2ir26dh0na265nzz7zx9hcjdy10-logstash-7.3.1/vendor/jruby/bin/jruby: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/rm1hz1lybxangc8sdl7xvzs5dcvigvf7-bash-4.4-p23/bin/bash" | |
sed: couldn't open temporary file /nix/store/5ahzv2ir26dh0na265nzz7zx9hcjdy10-logstash-7.3.1/vendor/jruby/bin/sedp6qd1Q: Permission denied | |
builder for '/nix/store/708x9r8680xzhj2zs85hrf8m2s8ywvas-logstash-input-google-pubsub.drv' failed with exit code 4 | |
cannot build derivation '/nix/store/m1pq74sgngxdi2qaz3wd8qikgs8rffsh-logstash.yml.drv': 1 dependencies couldn't be built | |
cannot build derivation '/nix/store/8pjiy6kn24kcz2r0ihnlhpb4inxxm1by-logstash-settings.drv': 1 dependencies couldn't be built | |
cannot build derivation '/nix/store/yby2szi4fdsvppiv3j63l1rmbmsf10fi-unit-logstash.service.drv': 1 dependencies couldn't be built | |
cannot build derivation '/nix/store/zhcji6szp199vaxjkircmbr4vzlnil1a-system-units.drv': 1 dependencies couldn't be built | |
cannot build derivation '/nix/store/mv5lbp7aixhklqba5p0an17yn43nhbs3-etc.drv': 1 dependencies couldn't be built | |
cannot build derivation '/nix/store/zzqg3hkyzba8xl1px93is2v2vxhprs5f-nixos-system-ch-graylog-19.09.2036.c49da6435f3.drv': 1 dependencies couldn't be built | |
error: build of '/nix/store/zzqg3hkyzba8xl1px93is2v2vxhprs5f-nixos-system-ch-graylog-19.09.2036.c49da6435f3.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment