Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 02fa320f82b1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 48feb84a9d91
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Oct 20, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    1ed7d0e View commit details

Commits on Nov 26, 2020

  1. Merge pull request #101185 from SuperSandro2000/lab-xdg-open

    gitAndTools.lab: wrap xdg-open to fix `lab mr browse`
    SuperSandro2000 authored Nov 26, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    48feb84 View commit details
Showing with 5 additions and 2 deletions.
  1. +5 −2 pkgs/applications/version-management/git-and-tools/lab/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, xdg_utils }:

buildGoModule rec {
pname = "lab";
@@ -17,16 +17,19 @@ buildGoModule rec {

doCheck = false;

buildInputs = [ makeWrapper ];

buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];

postInstall = ''
mkdir -p "$out/share/bash-completion/completions" "$out/share/zsh/site-functions"
export LAB_CORE_HOST=a LAB_CORE_USER=b LAB_CORE_TOKEN=c
$out/bin/lab completion bash > $out/share/bash-completion/completions/lab
$out/bin/lab completion zsh > $out/share/zsh/site-functions/_lab
wrapProgram $out/bin/lab --prefix PATH ":" "${lib.makeBinPath [ xdg_utils ]}";
'';

meta = with stdenv.lib; {
meta = with lib; {
description = "Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab";
homepage = "https://zaquestion.github.io/lab";
license = licenses.cc0;