Conversation
11bbd5b to
d761f1c
Compare
|
Result of 1 package failed to build:
|
|
@bryanhonof are you still interested? |
|
@Janik-Haag Yes, I am. Will just have to find some time to finish this. 😊 |
Janik-Haag
left a comment
There was a problem hiding this comment.
In there is ./result/bin/scripts which just prints Hi from Go which seems like it shouldn't be there.
|
|
||
| subPackages = [ ]; | ||
|
|
||
| doCheck = false; # Tries to do some networking :( |
There was a problem hiding this comment.
If I set this to true the test run just fine o.O
nix-build -A flottbot
this derivation will be built:
/nix/store/h5m8q5j99nsnp7lp9xgpqzijvgcspnid-flottbot-0.12.0.drv
building '/nix/store/h5m8q5j99nsnp7lp9xgpqzijvgcspnid-flottbot-0.12.0.drv'...
unpacking sources
unpacking source archive /nix/store/wk3cahkfvxwklcbdham4xf8gnr5jcsc2-source
source root is source
patching sources
configuring
building
Building subPackage ./cmd/flottbot
Building subPackage ./config-example/scripts
Building subPackage ./core
Building subPackage ./handlers
Building subPackage ./models
Building subPackage ./remote
Building subPackage ./remote/cli
Building subPackage ./remote/discord
Building subPackage ./remote/gchat
Building subPackage ./remote/scheduler
Building subPackage ./remote/slack
Building subPackage ./remote/telegram
Building subPackage ./utils
Building subPackage ./version
buildPhase completed in 38 seconds
running tests
ok github.com/target/flottbot/core 2.035s
ok github.com/target/flottbot/handlers 1.018s
ok github.com/target/flottbot/utils 0.010s
ok github.com/target/flottbot/version 0.003s
checkPhase completed in 33 seconds
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0
shrinking /nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0/bin/scripts
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0/bin/flottbot
checking for references to /build/ in /nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0...
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patching script interpreter paths in /nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0
stripping (with command strip and flags -S) in /nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0/bin
/nix/store/2g1p03mqx4kjr668zj9xhx3jnnmlk750-flottbot-0.12.0
which test did you have prolems with?
There was a problem hiding this comment.
Don't really remember. Maybe they removed/fixed that test case in 0.12.0. I'll try agian.
|
|
||
| vendorSha256 = "sha256-6j1nQBlFqd78v/CNV7ivwYZ5CEzGh+An6xcQr4dAkAs="; | ||
|
|
||
| subPackages = [ ]; |
There was a problem hiding this comment.
Probably copy/paste from another Go package, sorry. 😅
Co-authored-by: Janik <[email protected]>
Janik-Haag
left a comment
There was a problem hiding this comment.
This should be good to go after addressing the current discussions and squashing commits so we only have the flottbot: init at 0.11.0 commit.
|
|
||
| vendorSha256 = "sha256-6j1nQBlFqd78v/CNV7ivwYZ5CEzGh+An6xcQr4dAkAs="; | ||
|
|
||
| subPackages = [ ]; |
|
|
||
| subPackages = [ ]; | ||
|
|
||
| doCheck = false; # Tries to do some networking :( |
|
Closing in favor of #290084 |
Description of changes
Initialize flottbot at version 0.11.0
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)