input-output-hk / input-output-hk/bitte

`nomad--nspawn-driver` is not upstreamed

Open
#72 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Nix
Stars
161
Forks
13
PR merge metrics
No merged PRs in 30d

Description

- Upstream it
```
{ stdenv, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
pname = "nomad-driver-nspawn";
version = "0.7.0";
src = fetchFromGitHub {
owner = "JanMa";
repo = "nomad-driver-nspawn";
rev = "a877543a1d476c1c3d1b7ef9de864169e755684a";
sha256 = "0vrw8hy4kwplfmh88q75px85q9x35lbw0y4yc8j6hzkjfihqax7c";
fetchSubmodules = true;
};
subPackages = [ "." ];
vendorSha256 = null;
CGO_ENABLED = "0";
GOOS = "linux";
buildFlagsArray = ''
-ldflags= -s -w -extldflags "-static" -X github.com/JanMa/${pname}/nspawn.pluginVersion=${version}
'';
}
```
---

`{ pkgs, ... }: { services.nomad.pluginDir = "${pkgs.nomad-driver-nspawn}/bin"; }`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.