Skip to content

Commit

Permalink
Fix nix sync-etc derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Mar 17, 2024
1 parent acef11d commit 2c6d01d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sync/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
{ stdenvNoCC, python3, git, rsync }:
{ python3Packages, python3, git, rsync }:

stdenvNoCC.mkDerivation {
python3Packages.buildPythonApplication {
pname = "ocf-sync-etc";
version = "2024-03-16";
format = "other";

dontUnpack = true;

installPhase = ''
install -Dm755 ${./sync-etc} $out/bin/sync-etc
mkdir -p $out/bin
cp ${./sync-etc} $out/bin/sync-etc
'';

propagatedBuildInputs = [
python3
git
rsync
];
Expand Down

0 comments on commit 2c6d01d

Please sign in to comment.