silly goober bot

build(nix): simplify with new apis

+2 -19
+2 -19
default.nix
··· 1 { 2 lib, 3 rustPlatform, 4 - stdenv, 5 openssl, 6 - darwin, 7 pkg-config, 8 rev ? "dirty", 9 }: ··· 25 ); 26 }; 27 28 - cargoLock = { 29 - lockFile = ./Cargo.lock; 30 - outputHashes = { 31 - "git-tracker-0.2.0" = "sha256-ZOD/8Wjn7lNZjpiOLBwmYCcEe8tYmxxDMhhiWJViGws="; 32 - }; 33 - }; 34 35 - buildInputs = 36 - [ openssl ] 37 - ++ lib.optionals stdenv.isDarwin ( 38 - with darwin.apple_sdk.frameworks; 39 - [ 40 - Security 41 - CoreFoundation 42 - SystemConfiguration 43 - ] 44 - ); 45 - 46 nativeBuildInputs = [ pkg-config ]; 47 48 env = {
··· 1 { 2 lib, 3 rustPlatform, 4 openssl, 5 pkg-config, 6 rev ? "dirty", 7 }: ··· 23 ); 24 }; 25 26 + cargoLock.lockFile = ./Cargo.lock; 27 28 + buildInputs = [ openssl ]; 29 nativeBuildInputs = [ pkg-config ]; 30 31 env = {