making some tweaks to the default.nix

My NixOS config builds the app on every update. When we start to do
proper releases and such I'll fix this, but for now I want to change
up the default.nix so my config only builds a certain release.
This commit is contained in:
Chris Cochrun 2023-04-19 14:15:07 -05:00
parent 802f3ffbde
commit 3ce236aefe

View file

@ -2,6 +2,7 @@
# with pkgs; # with pkgs;
{ {
stdenv, stdenv,
fetchFromGitLab,
lib, lib,
gcc, gcc,
gnumake, gnumake,
@ -23,7 +24,6 @@
ki18n, ki18n,
kcoreaddons, kcoreaddons,
# kwindowsystem, # kwindowsystem,
podofo,
mpv, mpv,
ffmpeg_6-full, ffmpeg_6-full,
# Rust tools # Rust tools
@ -41,7 +41,12 @@ stdenv.mkDerivation rec {
__noChroot = true; __noChroot = true;
src = ./.; src = fetchFromGitLab {
owner = "chriscochrun";
repo = "church-presenter";
rev = "0.1";
sha256 = "sha256-tOQWUu+RTB4lG/RojYJUNQPuc/qr5HK/eeuaYAoNW6o=";
};
nativeBuildInputs = with rustPlatform; [ nativeBuildInputs = with rustPlatform; [
cargoSetupHook cargoSetupHook