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/nix
base: d1bcbb63b37c^
Choose a base ref
...
head repository: NixOS/nix
compare: 714d0f3e3ef6
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on May 31, 2019

  1. Copy the full SHA
    d1bcbb6 View commit details
    Browse the repository at this point in the history
  2. Add 'nix app' command

    This is like 'nix run', except that the command to execute is defined
    in a flake output, e.g.
    
      defaultApp = {
        type = "app";
        program = "${packages.blender_2_80}/bin/blender";
      };
    
    Thus you can do
    
      $ nix app blender-bin
    
    to start Blender from the 'blender-bin' flake.
    
    In the future, we can extend this with sandboxing. (For example we
    would want to be able to specify that Blender should not have network
    access by default and should only have access to certain paths in the
    user's home directory.)
    edolstra committed May 31, 2019
    Copy the full SHA
    714d0f3 View commit details
    Browse the repository at this point in the history