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

terraform-provider-nixos: init at 0.0.1 #36569

Merged
merged 1 commit into from
Apr 6, 2018

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented Mar 8, 2018

Motivation for this change

Add terraform-provider-nixos, the initial version.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Use via

pkgs.terraform.withPlugins (p: [ pkgs.terraform-provider-nixos ])

@GrahamcOfBorg GrahamcOfBorg added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 labels Mar 8, 2018
@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

patching script interpreter paths in /nix/store/kqhw3xikic5pld60f0y8xaj08kaw54as-terraform-provider-nixos-0.0.1
/nix/store/kqhw3xikic5pld60f0y8xaj08kaw54as-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/scripts/gogetcookie.sh: interpreter directive changed from "/bin/bash" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash"
/nix/store/kqhw3xikic5pld60f0y8xaj08kaw54as-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/scripts/changelog-links.sh: interpreter directive changed from "/bin/bash" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash"
/nix/store/kqhw3xikic5pld60f0y8xaj08kaw54as-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/scripts/errcheck.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash"
/nix/store/kqhw3xikic5pld60f0y8xaj08kaw54as-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/scripts/gofmtcheck.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash"
/nix/store/kqhw3xikic5pld60f0y8xaj08kaw54as-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/vendor/github.com/fsouza/go-dockerclient/travis-scripts/install.bash: interpreter directive changed from "/bin/bash -x" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash -x"
/nix/store/kqhw3xikic5pld60f0y8xaj08kaw54as-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/vendor/github.com/fsouza/go-dockerclient/travis-scripts/run-tests.bash: interpreter directive changed from "/bin/bash -ex" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash -ex"
/nix/store/kqhw3xikic5pld60f0y8xaj08kaw54as-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash"
/nix/store/kqhw3xikic5pld60f0y8xaj08kaw54as-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash"
/nix/store/yw0n3rdq8i1qkd4gjbykiv1ijscnfcyw-terraform-provider-nixos-0.0.1-bin

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

/nix/store/9v44f7qc65xbngsba7hcg2q2dvxcaabq-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/scripts/errcheck.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/9v44f7qc65xbngsba7hcg2q2dvxcaabq-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/scripts/changelog-links.sh: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/9v44f7qc65xbngsba7hcg2q2dvxcaabq-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/scripts/gogetcookie.sh: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/9v44f7qc65xbngsba7hcg2q2dvxcaabq-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/scripts/gofmtcheck.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/9v44f7qc65xbngsba7hcg2q2dvxcaabq-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/vendor/github.com/fsouza/go-dockerclient/travis-scripts/install.bash: interpreter directive changed from "/bin/bash -x" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash -x"
/nix/store/9v44f7qc65xbngsba7hcg2q2dvxcaabq-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/vendor/github.com/fsouza/go-dockerclient/travis-scripts/run-tests.bash: interpreter directive changed from "/bin/bash -ex" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash -ex"
/nix/store/9v44f7qc65xbngsba7hcg2q2dvxcaabq-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/9v44f7qc65xbngsba7hcg2q2dvxcaabq-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
checking for references to /tmp/nix-build-terraform-provider-nixos-0.0.1.drv-0 in /nix/store/9v44f7qc65xbngsba7hcg2q2dvxcaabq-terraform-provider-nixos-0.0.1...
/nix/store/rw3qvfxwwm2rcwp47a32gf79rcki9b95-terraform-provider-nixos-0.0.1-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

/nix/store/a33vf9k55fm74bcy4f3ks8lifzqcxcjx-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/scripts/changelog-links.sh: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/a33vf9k55fm74bcy4f3ks8lifzqcxcjx-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/scripts/errcheck.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/a33vf9k55fm74bcy4f3ks8lifzqcxcjx-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/scripts/gofmtcheck.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/a33vf9k55fm74bcy4f3ks8lifzqcxcjx-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/scripts/gogetcookie.sh: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/a33vf9k55fm74bcy4f3ks8lifzqcxcjx-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/a33vf9k55fm74bcy4f3ks8lifzqcxcjx-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/a33vf9k55fm74bcy4f3ks8lifzqcxcjx-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/vendor/github.com/fsouza/go-dockerclient/travis-scripts/install.bash: interpreter directive changed from "/bin/bash -x" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash -x"
/nix/store/a33vf9k55fm74bcy4f3ks8lifzqcxcjx-terraform-provider-nixos-0.0.1/share/go/src/github.com/tweag/terraform-provider-nixos/vendor/github.com/fsouza/go-dockerclient/travis-scripts/run-tests.bash: interpreter directive changed from "/bin/bash -ex" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash -ex"
checking for references to /build in /nix/store/a33vf9k55fm74bcy4f3ks8lifzqcxcjx-terraform-provider-nixos-0.0.1...
/nix/store/wj607dhvdbik102afkg7lz3g8z3llqzq-terraform-provider-nixos-0.0.1-bin

@Mic92
Copy link
Member

Mic92 commented Mar 26, 2018

Anything left to do here?

@Mic92 Mic92 merged commit e76825a into NixOS:master Apr 6, 2018
@Mic92
Copy link
Member

Mic92 commented Apr 6, 2018

works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants