Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

red: init at 0bfb499 #90035

Closed
wants to merge 1 commit into from
Closed

red: init at 0bfb499 #90035

wants to merge 1 commit into from

Conversation

4z3
Copy link
Contributor

@4z3 4z3 commented Jun 10, 2020

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Copy link
Contributor

@jtojnar jtojnar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

red attribute name is already taken, hence the failure.

pkgs/tools/admin/red/default.nix Outdated Show resolved Hide resolved
pkgs/tools/admin/red/default.nix Outdated Show resolved Hide resolved
@4z3
Copy link
Contributor Author

4z3 commented Jun 10, 2020

red attribute name is already taken, hence the failure.

Not sure what the best alternative name would be, so I've just prefixed it with go-. Question now is, whether it makes sense to rename the directory and the pname to go-red.

@doronbehar
Copy link
Contributor

Question now is, whether it makes sense to rename the directory and the pname to go-red.

I'd leave that as - it's easy enough to note the difference between both attributes by noting the different path under <nixpkgs> in which the drv is defined.

@Lassulus
Copy link
Member

Lassulus commented Sep 8, 2020

error: build of '/nix/store/5s7ws1ryq62mcdma9x7dxz72pz4hy2m9-red-unstable-2019-04-04-go-modules.drv' on 'ssh://nix@morpheus.r' failed: hash mismatch in fixed-output derivation '/nix/store/hghvy88y8j1i00ldnwcp1k630jii1m5h-red-unstable-2019-04-04-go-modules':
  wanted: sha256:0640x6p5hi7yp001cw13z5a17bi9vgd3gij5fxa1y06d3848cv7l
  got:    sha256:0a107hiaid0fprbm8lzakkqz5xlvrwv43b3avz3cxmix59xy0d7i
builder for '/nix/store/5s7ws1ryq62mcdma9x7dxz72pz4hy2m9-red-unstable-2019-04-04-go-modules.drv' failed with exit code 1; last 10 log lines:
  go: downloading golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223
  go: downloading golang.org/x/text v0.3.0
  go: downloading github.com/mattn/go-runewidth v0.0.4
  go: downloading github.com/lucasb-eyer/go-colorful v0.0.0-20181028223441-12d3b2882a08
  go: downloading github.com/gdamore/encoding v1.0.0
  go: downloading github.com/rivo/uniseg v0.0.0-20190313204849-f699dde9c340
  installing
  hash mismatch in fixed-output derivation '/nix/store/hghvy88y8j1i00ldnwcp1k630jii1m5h-red-unstable-2019-04-04-go-modules':
    wanted: sha256:0640x6p5hi7yp001cw13z5a17bi9vgd3gij5fxa1y06d3848cv7l
    got:    sha256:0a107hiaid0fprbm8lzakkqz5xlvrwv43b3avz3cxmix59xy0d7i
cannot build derivation '/nix/store/ajl51kpjpfpb9mcdv8b7g69vr4cnc2b9-red-unstable-2019-04-04.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/sial4pfnpwffnc8jkxxlg3x49sw7jpvc-env.drv': 1 dependencies couldn't be built

@4z3
Copy link
Contributor Author

4z3 commented Sep 8, 2020

I'm not interested in maintaining this anymore, sorry. 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants