mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
a95d1bbf9c
In current NixOS 17.09, Current version of `nix-store` command does not accept command as possible one: ```shell $ nix-store -qR --tree $(command -s man) error: query type ‘--tree’ conflicts with earlier flag Try ‘nix-store --help’ for more information. ``` So, `--tree` and `-R` are mutually exclusive options. ```shell $ nix-store -q --tree (command -s nix-store) (1) /nix/store/b8xy8bdxh1r5yjda332qrxj1vvvsy4fq-nix-1.11.15 +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 | +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...] +---/nix/store/gpbdiwg2mg21kppj12y019is5r0f8cgn-sqlite-3.20.0 | +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...] | +---/nix/store/gpbdiwg2mg21kppj12y019is5r0f8cgn-sqlite-3.20.0 [...] +---/nix/store/vp8y0rh8rq7vikbbrpf28jfym79xq9z8-coreutils-8.28 | +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...] | +---/nix/store/icxr8r6g584a3rhzixjs4zwwscssjr4c-attr-2.4.47 | | +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...] | | +---/nix/store/icxr8r6g584a3rhzixjs4zwwscssjr4c-attr-2.4.47 [...] | +---/nix/store/47ba88rwcima20wkw3j6r9i5nf4yxjmy-acl-2.2.52 | | +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...] | | +---/nix/store/icxr8r6g584a3rhzixjs4zwwscssjr4c-attr-2.4.47 [...] | | +---/nix/store/47ba88rwcima20wkw3j6r9i5nf4yxjmy-acl-2.2.52 [...] | +---/nix/store/vp8y0rh8rq7vikbbrpf28jfym79xq9z8-coreutils-8.28 [...] +---/nix/store/sbmxzfdnnl99jdhfsx4wasbcx6v7r0a2-perl-5.24.2 | +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...] | +---/nix/store/vp8y0rh8rq7vikbbrpf28jfym79xq9z8-coreutils-8.28 [...] | +---/nix/store/sbmxzfdnnl99jdhfsx4wasbcx6v7r0a2-perl-5.24.2 [...] +---/nix/store/i75adw8s20flph7wvhffma1is26llh2y-perl-DBI-1.636 | +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...] | +---/nix/store/sbmxzfdnnl99jdhfsx4wasbcx6v7r0a2-perl-5.24.2 [...] | +---/nix/store/i75adw8s20flph7wvhffma1is26llh2y-perl-DBI-1.636 [...] +---/nix/store/4qsl6n0a51vb3b6w9ncppk7il62qchgy-perl-DBD-SQLite-1.50 | +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...] | +---/nix/store/gpbdiwg2mg21kppj12y019is5r0f8cgn-sqlite-3.20.0 [...] | +---/nix/store/i75adw8s20flph7wvhffma1is26llh2y-perl-DBI-1.636 [...] | +---/nix/store/4qsl6n0a51vb3b6w9ncppk7il62qchgy-perl-DBD-SQLite-1.50 [...] +---/nix/store/9bmbvrlmcq58sw1z4q58iyfrsnbzy3db-libseccomp-2.3.2 | +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...] | +---/nix/store/9bmbvrlmcq58sw1z4q58iyfrsnbzy3db-libseccomp-2.3.2 [...] +---/nix/store/ybajdccj1h5xssna16h6vv3qqda6m7l4-openssl-1.0.2l | +---/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49 [...] | +---/nix/store/ybajdccj1h5xssna16h6vv3qqda6m7l4-openssl-1.0.2l [...] ``` So `nix-store -q --tree (command -s nix-store)` is the right command. |
||
---|---|---|
.. | ||
01 | ||
02 | ||
03 | ||
04 | ||
05 | ||
06 | ||
07 | ||
08 | ||
09 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
01-why-you-should-give-it-try.xml | ||
02-install-on-your-running.xml | ||
03-enter-environment.xml | ||
04-basics-of-language.xml | ||
05-functions-and-imports.xml | ||
06-our-first-derivation.xml | ||
07-working-derivation.xml | ||
08-generic-builders.xml | ||
09-automatic-runtime.xml | ||
10-developing-with-nix-shell.xml | ||
11-garbage-collector.xml | ||
12-inputs-design-pattern.xml | ||
13-callpackage-design-pattern.xml | ||
14-override-design-pattern.xml | ||
15-nix-search-paths.xml | ||
16-nixpkgs-parameters.xml | ||
17-nixpkgs-overriding-packages.xml | ||
18-nix-store-paths.xml | ||
19-fundamentals-of-stdenv.xml |