diff options
author | Artturin <Artturin@artturin.com> | 2022-03-19 20:16:05 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-04-20 19:35:46 +0300 |
commit | 51cfea8bb05d3f284534b2486cc29bb0ebf17ade (patch) | |
tree | 73ae1e7f9bb39c33f7950c883e7d614108e864f7 /src/libexpr/attr-path.cc | |
parent | 2ffc5a45422522122c65cf71a2958e4b891e8134 (diff) |
nix build: add --print-out-paths flag
has the same functionality as default nix-build
$ nix-build . -A "bash" -A "bash.dev" -A "tinycc"
/nix/store/4nmqxajzaf60yjribkgvj5j54x9yvr1r-bash-5.1-p12
/nix/store/c49i1ggnr5cc8gxmk9xm0cn961z104dn-bash-5.1-p12-dev
/nix/store/dbapb08862ajgaax3621fz8hly9fdah3-tcc-0.9.27+date=2022-01-11
$ nix-build . -A "bash"
/nix/store/4nmqxajzaf60yjribkgvj5j54x9yvr1r-bash-5.1-p12
$ $HOME/nixgits/nix/result/bin/nix build "nixpkgs#bash" "nixpkgs#bash.dev" "nixpkgs#tinycc" --print-out-paths
/nix/store/4nmqxajzaf60yjribkgvj5j54x9yvr1r-bash-5.1-p12
/nix/store/c49i1ggnr5cc8gxmk9xm0cn961z104dn-bash-5.1-p12-dev
/nix/store/dbapb08862ajgaax3621fz8hly9fdah3-tcc-0.9.27+date=2022-01-11
$ $HOME/nixgits/nix/result/bin/nix build "nixpkgs#bash" --print-out-paths
/nix/store/4nmqxajzaf60yjribkgvj5j54x9yvr1r-bash-5.1-p12
Diffstat (limited to 'src/libexpr/attr-path.cc')
0 files changed, 0 insertions, 0 deletions