diff options
Diffstat (limited to 'nix')
-rw-r--r-- | nix/nomad-driver-nix.nix | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/nix/nomad-driver-nix.nix b/nix/nomad-driver-nix.nix deleted file mode 100644 index 9d3638d..0000000 --- a/nix/nomad-driver-nix.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ - pkgs ? import <nixpkgs> {} -}: -pkgs.buildGoModule rec { - pname = "nomad-driver-nix"; - version = "0.1.0"; - - src = pkgs.fetchFromGitHub { - owner = "input-output-hk"; - repo = "nomad-driver-nix"; - rev = "010b09c680887d0cade86e8ac136c3a04609e04a"; - sha256 = "sha256-hET+b7XhDLSuVQwXLI2V5nYCcdvxQQj9BAG8z4ta6CE="; - }; - - vendorSha256 = "sha256-FDJpbNtcFEHnZvWip2pvUHF3BFyfcSohrr/3nk9YS24="; - - ldflags = [ - "-X github.com/input-output-hk/nomad-driver-nix/nix.pluginVersion=${version}" - ]; - - postInstall = '' - mv $out/bin/nomad-driver-nix $out/bin/nix-driver - ''; - - meta = with pkgs.lib; { - description = "Nomad driver to run Nix packages / NixOS in systemd-nspawn containers"; - homepage = "https://github.com/input-output-hk/nomad-driver-nix"; - license = licenses.mpl20; - platforms = platforms.linux; - }; -} |