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

Commits on May 4, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    vdemeester Vincent Demeester
    Copy the full SHA
    09852df View commit details

Commits on Nov 24, 2020

  1. Merge pull request #86310 from marius851000/ctrtool

    ctrtool: 0.16 -> 0.7 and fix cross compiling
    ryantm authored Nov 24, 2020
    Copy the full SHA
    28ee64c View commit details
Showing with 5 additions and 4 deletions.
  1. +5 −4 pkgs/tools/archivers/ctrtool/default.nix
9 changes: 5 additions & 4 deletions pkgs/tools/archivers/ctrtool/default.nix
Original file line number Diff line number Diff line change
@@ -2,22 +2,23 @@

stdenv.mkDerivation rec {
pname = "ctrtool";
version = "0.16";
version = "0.7";

src = fetchFromGitHub {
owner = "jakcron";
repo = "Project_CTR";
rev = "v${version}";
sha256 = "1n3j3fd1bqd39v5bdl9mhq4qdrcl1k4ib1yzl3qfckaz3y8bkrap";
rev = "ctrtool-v${version}";
sha256 = "07aayck82w5xcp3si35d7ghybmrbqw91fqqvmbpjrjcixc6m42z7";
};

sourceRoot = "source/ctrtool";

makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "CXX=${stdenv.cc.targetPrefix}c++"];
enableParallelBuilding = true;

installPhase = "
mkdir $out/bin -p
cp ctrtool $out/bin/ctrtool
cp ctrtool${stdenv.hostPlatform.extensions.executable} $out/bin/
";

meta = with stdenv.lib; {