twitter: @cdepillabout
github: github.com/cdepillabout
パッケージ更新したら古い方のパッケージは削除されるんじゃない?
この問題を回避できる
/nix/store/の配下にファイルができる
/nix/store/ └── n5qcp6cd3mca903zkqq39vzkbcfig94z-java-1.7/ ├── bin/ │ ├── java │ ├── javac │ └── (...) ├── include/ │ └── (...) └── lib/ └── (...)
java7は削除されず
/nix/store/ ├── n5qcp6cd3mca903zkqq39vzkbcfig94z-java-1.7/ │ └── (...) └── xwz6c4685klixn326baq3dgjj2mp2m0h-java-1.8/ ├── bin/ │ ├── java │ ├── javac │ └── (...) └── (...)
/nix/store/ └── n5qcp6cd3mca903zkqq39vzkbcfig94z-java-1.7/ └── (...)
パッケージの定義ファイル
{ stdenv, fetchurl, zlib }: stdenv.mkDerivation rec { name = "hello-2.9"; src = fetchurl { url = "mirror://gnu/hello/${name}.tar.gz"; sha256 = "19qy37gkasc4csb1d3bdiz9snn8mir2p3aj0jgzmfv0r2hi7mfzc"; }; meta = { description = "A program that produces a friendly greeting"; license = stdenv.lib.licenses.gpl3Plus; }; }
/nix/store/ ├── hwi70kh40mxmw25h3w9rf3yhcz4rjim0-java-1.7/ │ └── (...) └── n5qcp6cd3mca903zkqq39vzkbcfig94z-java-1.7/ └── (...)
Use a spacebar or arrow keys to navigate