Skip to content
Snippets Groups Projects
  1. Oct 06, 2017
  2. Oct 03, 2017
  3. Sep 28, 2017
  4. Sep 27, 2017
  5. Sep 25, 2017
    • Eelco Dolstra's avatar
      nix why-depends: Write to stdout · d1c6e0fe
      Eelco Dolstra authored
      d1c6e0fe
    • Eelco Dolstra's avatar
      Add "nix show-derivation" · e8d6ee7c
      Eelco Dolstra authored
      This debug command prints a store derivation in JSON format. For
      example:
      
        $ nix show-derivation nixpkgs.hello
        {
          "/nix/store/ayjwpwwiyy04nh9z71rsdgd3q7bra7ch-hello-2.10.drv": {
            "outputs": {
              "out": {
                "path": "/nix/store/w5w4v29ql0qwqhczkdxs94ix2lh7ibgs-hello-2.10"
              }
            },
            "inputSrcs": [
              "/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"
            ],
            "inputDrvs": {
              "/nix/store/13839aqdf6x4k3b785rw5f2l7857l6y3-bash-4.4-p12.drv": [
                "out"
              ],
              "/nix/store/vgdx7fdc7d4iirmnwj2py1nrvr5qwzj7-hello-2.10.tar.gz.drv": [
                "out"
              ],
              "/nix/store/x3kkd0vsqfflbvwf1055l9mr39bg0ms0-stdenv.drv": [
                "out"
              ]
            },
            "platform": "x86_64-linux",
            "builder": "/nix/store/qp5fw57d38bd1n07ss4zxh88zg67c3vg-bash-4.4-p12/bin/bash",
            "args": [
              "-e",
              "/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"
            ],
            "env": {
              "buildInputs": "",
              "builder": "/nix/store/qp5fw57d38bd1n07ss4zxh88zg67c3vg-bash-4.4-p12/bin/bash",
              "configureFlags": "",
              "doCheck": "1",
              "name": "hello-2.10",
              "nativeBuildInputs": "",
              "out": "/nix/store/w5w4v29ql0qwqhczkdxs94ix2lh7ibgs-hello-2.10",
              "propagatedBuildInputs": "",
              "propagatedNativeBuildInputs": "",
              "src": "/nix/store/3x7dwzq014bblazs7kq20p9hyzz0qh8g-hello-2.10.tar.gz",
              "stdenv": "/nix/store/6zngq1rdh0ans9qyckqimqibgnlvlfrm-stdenv",
              "system": "x86_64-linux"
            }
          }
        }
      
      This removes the need for pp-aterm.
      e8d6ee7c
    • Eelco Dolstra's avatar
      Doh · e3506717
      Eelco Dolstra authored
      e3506717
  6. Sep 18, 2017
  7. Sep 14, 2017
  8. Sep 11, 2017
    • Eelco Dolstra's avatar
      Merge pull request #1562 from peti/master · 359ede1d
      Eelco Dolstra authored
      docker: update to Nix 1.11.14
      359ede1d
    • Eelco Dolstra's avatar
      nix why-depends: Add option to show all edges causing a dependency · fc0ded34
      Eelco Dolstra authored
      For example, without --all:
      
        $ nix why-depends nixpkgs.nixUnstable nixpkgs.libssh2
        /nix/store/s9n5gvj2l49b4n19nz6xl832654nf7n7-nix-1.12pre5511_c94f3d55
        └───lib/libnixstore.so: …/lib:/nix/store/w9ykqpl5v0r3vfwsgn408jqhs72cx96x-curl-7.55.0/lib…
            => /nix/store/w9ykqpl5v0r3vfwsgn408jqhs72cx96x-curl-7.55.0
            └───lib/libcurl.la: …ib -L/nix/store/4mbayl1y5hpjbjzkx8ndyhkv98kqw1wi-libssh2-1.8.0/l…
                => /nix/store/4mbayl1y5hpjbjzkx8ndyhkv98kqw1wi-libssh2-1.8.0
      
      but with --all:
      
        $ nix why-depends -a nixpkgs.nixUnstable nixpkgs.libssh2
        /nix/store/s9n5gvj2l49b4n19nz6xl832654nf7n7-nix-1.12pre5511_c94f3d55
        ├───lib/libnixstore.so: …/lib:/nix/store/w9ykqpl5v0r3vfwsgn408jqhs72cx96x-curl-7.55.0/lib…
        │   => /nix/store/w9ykqpl5v0r3vfwsgn408jqhs72cx96x-curl-7.55.0
        │   └───lib/libcurl.la: …ib -L/nix/store/4mbayl1y5hpjbjzkx8ndyhkv98kqw1wi-libssh2-1.8.0/l…
        │       lib/libcurl.so.4.4.0: …/lib:/nix/store/4mbayl1y5hpjbjzkx8ndyhkv98kqw1wi-libssh2-1.8.0/l…
        │       => /nix/store/4mbayl1y5hpjbjzkx8ndyhkv98kqw1wi-libssh2-1.8.0
        └───lib/libnixstore.so: …/lib:/nix/store/bx2i9vi76lps6w9rr73fxf6my31s4dg5-aws-sdk-cpp-1.0…
            => /nix/store/bx2i9vi76lps6w9rr73fxf6my31s4dg5-aws-sdk-cpp-1.0.153
            └───lib/libaws-cpp-sdk-core.so: …e.so./nix/store/w9ykqpl5v0r3vfwsgn408jqhs72cx96x-curl-7.55.0/lib…
                lib/libaws-cpp-sdk-s3.so: …/lib:/nix/store/w9ykqpl5v0r3vfwsgn408jqhs72cx96x-curl-7.55.0/lib…
                => /nix/store/w9ykqpl5v0r3vfwsgn408jqhs72cx96x-curl-7.55.0
      fc0ded34
    • Peter Simons's avatar
      docker: update to Nix 1.11.14 · 1511f013
      Peter Simons authored
      - Use the latest Nix version 1.11.14.
      
      - Attempts to download the Nix installation tarball from http://nixos.org
        redirect to https these days, which wget doesn't support unless OpenSSL is
        available.
      
      - Use addgroup and adduser commands to create the Nix build users.
      
      - Link the Nix profile script into /etc/profile.d, where it's run
        automatically.
      
      - Dropped installation of bash and tar. Neither tool is essential for running
        Nix.
      
      Use the command "docker build -t nix . && docker run -it --rm nix sh -"
      to build and run the Nix docker container.
      1511f013
  9. Sep 10, 2017
    • Eelco Dolstra's avatar
      Add command "nix why-depends" · d41c5eb1
      Eelco Dolstra authored
      This command shows why a package has another package in its runtime
      closure. For example, to see why VLC has libdrm.dev in its closure:
      
        $ nix why-depends nixpkgs.vlc nixpkgs.libdrm.dev
        /nix/store/g901z9pcj0n5yy5n6ykxk3qm4ina1d6z-vlc-2.2.5.1:
          lib/libvlccore.so.8.0.0: …nfig:/nix/store/405lmx6jl8lp0ad1vrr6j498chrqhz8g-libdrm-2.4.75-d…
      
        /nix/store/s3nm7kd8hlcg0facn2q1ff2n7wrwdi2l-mesa-noglu-17.0.7-dev:
          nix-support/propagated-native-build-inputs: …-dev /nix/store/405lmx6jl8lp0ad1vrr6j498chrqhz8g-libdrm-2.4.75-d…
      
      Thus, VLC's lib/libvlccore.so.8.0.0 as well as mesa-noglu's
      nix-support/propagated-native-build-inputs cause the dependency.
      d41c5eb1
    • Eelco Dolstra's avatar
      Typo · 8af704ee
      Eelco Dolstra authored
      8af704ee
    • Eelco Dolstra's avatar
      nix build: Only download the requested derivation outputs · ad228d84
      Eelco Dolstra authored
      Also some refactoring.
      ad228d84
  10. Sep 08, 2017
  11. Sep 07, 2017
Loading