···117118 /* fake entry, just to have a happy stage-1. Users
119 may boot without having stage-1 though */
120- fileSystems = [
121 { mountPoint = "/";
122 device = "/dev/something";
123- }
124- ];
125126 services.mingetty = {
127 # Some more help text.
···117118 /* fake entry, just to have a happy stage-1. Users
119 may boot without having stage-1 though */
120+ fileSystems.fake =
121 { mountPoint = "/";
122 device = "/dev/something";
123+ };
0124125 services.mingetty = {
126 # Some more help text.
+1-1
nixos/modules/installer/cd-dvd/system-tarball.nix
···4142 # In stage 1 of the boot, mount the CD/DVD as the root FS by label
43 # so that we don't need to know its device.
44- fileSystems = [ ];
4546 # boot.initrd.availableKernelModules = [ "mvsdio" "reiserfs" "ext3" "ext4" ];
47
···4142 # In stage 1 of the boot, mount the CD/DVD as the root FS by label
43 # so that we don't need to know its device.
44+ fileSystems = { };
4546 # boot.initrd.availableKernelModules = [ "mvsdio" "reiserfs" "ext3" "ext4" ];
47
···45 # get the command line client on system path to make some use of the service
46 environment.systemPackages = [ pkgs.dict ];
4748- users.users = singleton
49- { name = "dictd";
50- group = "dictd";
51 description = "DICT.org dictd server";
52 home = "${dictdb}/share/dictd";
53 uid = config.ids.uids.dictd;
54 };
5556- users.groups = singleton
57- { name = "dictd";
58- gid = config.ids.gids.dictd;
59- };
6061 systemd.services.dictd = {
62 description = "DICT.org Dictionary Server";
···45 # get the command line client on system path to make some use of the service
46 environment.systemPackages = [ pkgs.dict ];
4748+ users.users.dictd =
49+ { group = "dictd";
050 description = "DICT.org dictd server";
51 home = "${dictdb}/share/dictd";
52 uid = config.ids.uids.dictd;
53 };
5455+ users.groups.dictd.gid = config.ids.gids.dictd;
0005657 systemd.services.dictd = {
58 description = "DICT.org Dictionary Server";
···184185 # This isn't needed, it's just so that the user can type "nagiostats
186 # -c /etc/nagios.cfg".
187- environment.etc = [
188- { source = nagiosCfgFile;
189- target = "nagios.cfg";
190- }
191- ];
192193 environment.systemPackages = [ pkgs.nagios ];
194 systemd.services.nagios = {
···184185 # This isn't needed, it's just so that the user can type "nagiostats
186 # -c /etc/nagios.cfg".
187+ environment.etc."nagios.cfg".source = nagiosCfgFile;
0000188189 environment.systemPackages = [ pkgs.nagios ];
190 systemd.services.nagios = {
···1-{ lib, stdenv, ghc, llvmPackages, packages, symlinkJoin, makeWrapper
2, withLLVM ? false
3, postBuild ? ""
4, ghcLibdir ? null # only used by ghcjs, when resolving plugins
···51 ++ lib.optional stdenv.targetPlatform.isDarwin llvmPackages.clang);
52in
53if paths == [] && !withLLVM then ghc else
54-symlinkJoin {
55 # this makes computing paths from the name attribute impossible;
56 # if such a feature is needed, the real compiler name should be saved
57 # as a dedicated drv attribute, like `compiler-name`
58 name = ghc.name + "-with-packages";
59 paths = paths ++ [ghc];
060 postBuild = ''
61 . ${makeWrapper}/nix-support/setup-hook
0000000006263 # wrap compiler executables with correct env variables
64
···1+{ lib, stdenv, ghc, llvmPackages, packages, buildEnv, makeWrapper
2, withLLVM ? false
3, postBuild ? ""
4, ghcLibdir ? null # only used by ghcjs, when resolving plugins
···51 ++ lib.optional stdenv.targetPlatform.isDarwin llvmPackages.clang);
52in
53if paths == [] && !withLLVM then ghc else
54+buildEnv {
55 # this makes computing paths from the name attribute impossible;
56 # if such a feature is needed, the real compiler name should be saved
57 # as a dedicated drv attribute, like `compiler-name`
58 name = ghc.name + "-with-packages";
59 paths = paths ++ [ghc];
60+ extraOutputsToInstall = ["doc"];
61 postBuild = ''
62 . ${makeWrapper}/nix-support/setup-hook
63+64+ # We make changes to ghc binaries in $out/bin. buildEnv gives a
65+ # symlink if only one of the paths has the subdirectory. If so,
66+ # we need to remove it for our new wrappers.
67+68+ if [ -L "$out/bin" ]; then
69+ rm -f "$out/bin"
70+ mkdir -p "$out/bin"
71+ fi
7273 # wrap compiler executables with correct env variables
74
···1+{ lib, buildPythonPackage, fetchPypi }:
2+3+buildPythonPackage rec {
4+ pname = "area";
5+ version = "1.1.1";
6+7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "18k5hwmlxhajlq306zxndsglb11vv8vd4vpmwx8dpvfxd1kbksya";
10+ };
11+12+ # tests not working on the package from pypi
13+ doCheck = false;
14+15+ meta = with lib; {
16+ description = "Calculate the area inside of any GeoJSON geometry. This is a port of Mapbox’s geojson-area for Python.";
17+ homepage = "https://github.com/scisco/area";
18+ license = licenses.bsd2;
19+ };
20+}
···1+diff --git a/setup.py b/setup.py
2+index 8e1c220..45297b6 100644
3+--- a/setup.py
4++++ b/setup.py
5+@@ -25,20 +25,6 @@ class CustomBuildExtCommand(build_ext):
6+ install_h3(h3_version)
7+8+9+-# Tested with wheel v0.29.0
10+-class BinaryDistribution(Distribution):
11+- def __init__(self, attrs=None):
12+- Distribution.__init__(self, attrs)
13+- # The values used for the name and sources in the Extension below are
14+- # not important, because we override the build_ext command above.
15+- # The normal C extension building logic is never invoked, and is
16+- # replaced with our own custom logic. However, ext_modules cannot be
17+- # empty, because this signals to other parts of distutils that our
18+- # package contains C extensions and thus needs to be built for
19+- # different platforms separately.
20+- self.ext_modules = [Extension('h3c', [])]
21+-
22+-
23+ long_description = open('README.rst').read()
24+25+ setup(
26+@@ -52,14 +38,10 @@ setup(
27+ url='https://github.com/uber/h3-py.git',
28+ packages=find_packages(exclude=['tests', 'tests.*']),
29+ install_requires=[],
30+- cmdclass={
31+- 'build_ext': CustomBuildExtCommand,
32+- },
33+ package_data={
34+ 'h-py':
35+ ['out/*.dylib' if platform.system() == 'Darwin' else (
36+ 'out/*.dll' if platform.system() == 'Windows' else
37+ 'out/*.so.*')]
38+ },
39+- license='Apache License 2.0',
40+- distclass=BinaryDistribution)
41++ license='Apache License 2.0')
···23buildPythonPackage rec {
4 pname = "kconfiglib";
5- version = "13.6.0";
67 src = fetchPypi {
8 inherit pname version;
9- sha256 = "5bd148042654788a30ead478208abd44d5df971013a226b0aabae3c4243561bd";
10 };
1112 # doesnt work out of the box but might be possible
···23buildPythonPackage rec {
4 pname = "kconfiglib";
5+ version = "13.7.0";
67 src = fetchPypi {
8 inherit pname version;
9+ sha256 = "0dkfprrsds64d2jbqnwdzb4why84jaj968s3ccmyqg5385nr9fwd";
10 };
1112 # doesnt work out of the box but might be possible
···124 sha256 = "077cpj0kzyqxzdya1dwh8df17zfzhqn7c685hx6iskvw2979zg2n";
125 })
126 ./lift-gast-restriction.patch
0000127 ];
128129 # On update, it can be useful to steal the changes from gentoo
···124 sha256 = "077cpj0kzyqxzdya1dwh8df17zfzhqn7c685hx6iskvw2979zg2n";
125 })
126 ./lift-gast-restriction.patch
127+128+ # cuda 10.2 does not have "-bin2c-path" option anymore
129+ # https://github.com/tensorflow/tensorflow/issues/34429
130+ ./cuda-10.2-no-bin2c-path.patch
131 ];
132133 # On update, it can be useful to steal the changes from gentoo