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: e57fa51069c5
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 82845ff89521
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Dec 4, 2020

  1. dasel: Set version in ldflags

    avdv committed Dec 4, 2020
    Copy the full SHA
    c41441c View commit details
  2. Merge pull request #105851 from avdv/dasel-with-version

    dasel: Set version in ldflags
    SuperSandro2000 authored Dec 4, 2020
    Copy the full SHA
    82845ff View commit details
Showing with 4 additions and 0 deletions.
  1. +4 −0 pkgs/applications/misc/dasel/default.nix
4 changes: 4 additions & 0 deletions pkgs/applications/misc/dasel/default.nix
Original file line number Diff line number Diff line change
@@ -16,6 +16,10 @@ buildGoModule rec {

vendorSha256 = "1552k85z4s6gv7sss7dccv3h8x22j2sr12icp6s7s0a3i4iwyksw";

buildFlagsArray = ''
-ldflags=-s -w -X github.com/tomwright/dasel/internal.Version=${version}
'';

meta = with stdenv.lib; {
description = "Query and update data structures from the command line";
longDescription = ''