Skip to content

Commit

Permalink
fix(nix): update nix config
Browse files Browse the repository at this point in the history
  • Loading branch information
Wittano committed Nov 21, 2023
1 parent eb08748 commit af96d65
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 151 deletions.
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,15 @@ test: build
clean:
rm -r build

build-nix:
# TODO Install .service file
systemd:

# TODO Create installer for filebot
install:

# TODO Create uninstall for filebot
uninstall: clean


nix:
nix build .
5 changes: 3 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

buildGoModule rec {
name = "filebot";
src = ./../.;
src = ./.;

vendorHash = "sha256-YVbhTJ1gwwpWhxgUHQlp+udSx3sLtMlr1TiZWsIeORA";
# TODO Update vendorHash during push a relase version v1.0
vendorHash = "sha256-XPRA1i8guYzLDEu5/QCzPhO/CHjNtgx2WNyafuoKjzc=";

goMod = ./.;
}
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
outputs = { self, nixpkgs, }:
let
pkgs = import nixpkgs { system = "x86_64-linux"; };
filebot = pkgs.callPackage ./default { };
filebot = pkgs.callPackage ./default.nix { };
in {
packages.x86_64-linux.default = filebot;
nixosModules."filebot" = import ./service.nix;
Expand Down
17 changes: 0 additions & 17 deletions setting/config_windows_test.go

This file was deleted.

130 changes: 0 additions & 130 deletions watcher/watcher_windows_test.go

This file was deleted.

0 comments on commit af96d65

Please sign in to comment.