NixOS + home-manager configs, mirrored from GitLab SaaS. gitlab.com/andreijiroh-dev/nixops-config
nix-flake nixos home-manager nixpkgs nix-flakes
at main 523 B view raw
1{ stdenv, lib, ... }: 2 3stdenv.mkDerivation { 4 pname = "detect-vscode-for-git"; 5 version = "0.2.0"; 6 7 src = ../misc/bash/lib/detect-vscode-for-git; 8 9 dontUnpack = true; 10 11 installPhase = '' 12 runHook preInstall 13 14 install -D -m755 $src $out/bin/detect-vscode-for-git 15 16 runHook postInstall 17 ''; 18 19 meta = with lib; { 20 description = "A script to detect and set VS Code as the git editor."; 21 license = licenses.mpl20; 22 platforms = platforms.all; 23 maintainers = with maintainers; [ ajhalili2006 ]; 24 }; 25}