From 3ce236aefef9ff75ec27cc76020ced3c468fc2a5 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 19 Apr 2023 14:15:07 -0500 Subject: [PATCH] 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. --- default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/default.nix b/default.nix index 52c7acc..4689a76 100644 --- a/default.nix +++ b/default.nix @@ -2,6 +2,7 @@ # with pkgs; { stdenv, + fetchFromGitLab, lib, gcc, gnumake, @@ -23,7 +24,6 @@ ki18n, kcoreaddons, # kwindowsystem, - podofo, mpv, ffmpeg_6-full, # Rust tools @@ -41,7 +41,12 @@ stdenv.mkDerivation rec { __noChroot = true; - src = ./.; + src = fetchFromGitLab { + owner = "chriscochrun"; + repo = "church-presenter"; + rev = "0.1"; + sha256 = "sha256-tOQWUu+RTB4lG/RojYJUNQPuc/qr5HK/eeuaYAoNW6o="; + }; nativeBuildInputs = with rustPlatform; [ cargoSetupHook