Each section should be run as the user or as root, pay attention to which one!
As $USER
curl https://nixos.org/nix/install | sh
| { me ? "5acef014fd9ca6119226d7c5373b1b8cc4df1376" | |
| , base ? "b09435ea51caaae1865e667aaa32f7cba4cc4ff2" | |
| }: | |
| rec { | |
| inherit me base; | |
| myNixpkgsFunc = import (builtins.fetchTarball "https://github.com/Ericson2314/nixpkgs/archive/${me}.tar.gz"); | |
| myNixpkgs = myNixpkgsFunc {}; |
| // Copyright 2015 The Rust Project Developers. See the COPYRIGHT | |
| // file at the top-level directory of this distribution and at | |
| // http://rust-lang.org/COPYRIGHT. | |
| // | |
| // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | |
| // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
| // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | |
| // option. This file may not be copied, modified, or distributed | |
| // except according to those terms. |