Skip to content

Commit

Permalink
discrete-scroll: rename from darwin.discrete-scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Nov 26, 2024
1 parent 1d5b7f4 commit a2430c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, Cocoa }:
{ stdenv, lib, fetchFromGitHub }:

## after launching for the first time, grant access for parent application (e.g. Terminal.app)
## from 'system preferences >> security & privacy >> accessibility'
Expand All @@ -15,8 +15,6 @@ stdenv.mkDerivation rec {
sha256 = "0aqkp4kkwjlkll91xbqwf8asjww8ylsdgqvdk8d06bwdvg2cgvhg";
};

buildInputs = [ Cocoa ];

buildPhase = ''
cc -std=c99 -O3 -Wall -framework Cocoa -o dc DiscreteScroll/main.m
'';
Expand Down
4 changes: 4 additions & 0 deletions pkgs/top-level/darwin-aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ mapAliases ({
cctools-llvm = pkgs.cctools; # added 2024-07-01
cctools-port = pkgs.cctools; # added 2024-07-17

### D ###

discrete-scroll = pkgs.discrete-scroll; # added 2024-11-27

### I ###

insert_dylib = throw "'darwin.insert_dylib' has been renamed to 'insert-dylib'"; # added 2024-04-04
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/darwin-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,6 @@ impure-cmds // apple-source-packages // apple-source-headers // stubs // {

ios-deploy = callPackage ../os-specific/darwin/ios-deploy {};

discrete-scroll = callPackage ../os-specific/darwin/discrete-scroll { };

# See doc/packages/darwin-builder.section.md
linux-builder = lib.makeOverridable ({ modules }:
let
Expand Down

0 comments on commit a2430c5

Please sign in to comment.