Remove build.nix and use it on another repo

This commit is contained in:
Simon Goller 2024-06-06 07:47:40 +02:00
parent 69c357b69e
commit 99b9d85e47

View file

@ -1,18 +0,0 @@
{ pkgs ? import <nixpkgs> {}, features ? [] }:
let
specificPkgs = import (pkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "57610d2f8f0937f39dbd72251e9614b1561942d8";
sha256 = "sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0=";
}) {};
rustPlatform = specificPkgs.rustPlatform;
in
rustPlatform.buildRustPackage {
pname = "shifty-service";
version = "0.1";
src = ./.;
buildFeatures = features;
cargoHash = "sha256-sTKupn3HMBf3lumCu1RUkzutc+RUNpuqEyGR2BMxAso=";
}