cleverca22
10/14/2016 - 7:43 AM

gistfile1.txt

[clever@amd-nixos:~/apps/nixpkgs]$ git remote -v
channels        git@github.com:NixOS/nixpkgs-channels.git (fetch)
channels        git@github.com:NixOS/nixpkgs-channels.git (push)
origin  git@github.com:NixOS/nixpkgs.git (fetch)
origin  git@github.com:NixOS/nixpkgs.git (push)
[clever@amd-nixos:~/apps/nixpkgs]$ git fetch channels
   8512747..adfcc2d  nixos-unstable -> channels/nixos-unstable
[clever@amd-nixos:~/apps/nixpkgs]$ git checkout channels/nixos-unstable
M       nixos/lib/make-squashfs.nix
M       pkgs/top-level/platforms.nix
HEAD is now at adfcc2d... Merge pull request #18906 from aneeshusa/update-salt-to-2016.3.3

[clever@amd-nixos:~/apps/nixpkgs]$ nix-repl default.nix
nix-repl> :b enableDebugging sakura
this derivation produced the following outputs:
  out -> /nix/store/bi4zvs8jpydlz5mrsp2q8r5pnj9fp8yw-sakura-3.3.4

nix-repl> :q

[clever@amd-nixos:~/apps/nixpkgs]$ gdb /nix/store/bi4zvs8jpydlz5mrsp2q8r5pnj9fp8yw-sakura-3.3.4/bin/sakura
(gdb) run
[Inferior 1 (process 9738) exited normally]
(gdb) quit