Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/nixos/doc/manual/shell.nix

9 lines
139 B
Nix
Raw Normal View History

nixos docs: makefile for formatting
2018-05-01 18:03:25 -04:00
let
pkgs = import ../../.. { };
in
pkgs.mkShell {
name = "nixos-manual";
mkShell: introduce packages argument (#122180) The distinction between the inputs doesn't really make sense in the mkShell context. Technically speaking, we should be using the nativeBuildInputs most of the time. So in order to make this function more beginner-friendly, add "packages" as an attribute, that maps to nativeBuildInputs. This commit also updates all the uses in nixpkgs.
2021-05-13 19:17:29 +02:00
packages = with pkgs; [ xmlformat jing xmloscopy ruby ];
nixos docs: makefile for formatting
2018-05-01 18:03:25 -04:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 664ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API