2 description = "The purely functional package manager";
4 inputs.nixpkgs.url = "nixpkgs/nixos-20.03-small";
6 outputs = { self, nixpkgs }: let
7 systems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
8 forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
11 nix-bundle = { program, system }: let
12 nixpkgs' = nixpkgs.legacyPackages.${system};
13 nix-bundle = import self { nixpkgs = nixpkgs'; };
14 script = nixpkgs'.writeScript "startup" ''
16 .${nix-bundle.nix-user-chroot}/bin/nix-user-chroot -n ./nix -- ${program} "$@"
18 in nix-bundle.makebootstrap {
20 startup = ".${builtins.unsafeDiscardStringContext script} '\"$@\"'";
24 defaultBundler = self.bundlers.nix-bundle;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list