diff options
author | Andreas Rammhold <andreas@rammhold.de> | 2020-10-28 03:00:32 +0100 |
---|---|---|
committer | Andreas Rammhold <andreas@rammhold.de> | 2020-10-28 03:03:27 +0100 |
commit | db0fe5c3eb1d680fb8c635f8e327c412528eba90 (patch) | |
tree | eb73686ee894bbc2d528824803dacf5bc914f28f /pkgs/os-specific | |
parent | 5d03fe6ac4b2e5e4132bb6f893380544ae2cf008 (diff) | |
parent | c127653b72574199463a73a56e1809223eaec0df (diff) | |
download | nixpkgs-db0fe5c3eb1d680fb8c635f8e327c412528eba90.tar nixpkgs-db0fe5c3eb1d680fb8c635f8e327c412528eba90.tar.gz nixpkgs-db0fe5c3eb1d680fb8c635f8e327c412528eba90.tar.bz2 nixpkgs-db0fe5c3eb1d680fb8c635f8e327c412528eba90.tar.lz nixpkgs-db0fe5c3eb1d680fb8c635f8e327c412528eba90.tar.xz nixpkgs-db0fe5c3eb1d680fb8c635f8e327c412528eba90.tar.zst nixpkgs-db0fe5c3eb1d680fb8c635f8e327c412528eba90.zip |
Merge branch master into staging to fix eval error
This fixes the eval error of the small (and "big"?) NixOS test set that was fixed in 1088f05 & eba8f542.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/cpuset/default.nix | 2 | ||||
-rw-r--r-- | pkgs/os-specific/linux/dstat/default.nix | 2 | ||||
-rw-r--r-- | pkgs/os-specific/linux/dstat/fix_pluginpath.patch | 15 | ||||
-rw-r--r-- | pkgs/os-specific/linux/kernel/linux-testing.nix | 6 | ||||
-rw-r--r-- | pkgs/os-specific/linux/kernel/manual-config.nix | 6 |
5 files changed, 24 insertions, 7 deletions
diff --git a/pkgs/os-specific/linux/cpuset/default.nix b/pkgs/os-specific/linux/cpuset/default.nix index 57cffe5f9e0..90352a944d5 100644 --- a/pkgs/os-specific/linux/cpuset/default.nix +++ b/pkgs/os-specific/linux/cpuset/default.nix @@ -19,7 +19,7 @@ python2Packages.buildPythonApplication rec { }; meta = with stdenv.lib; { - description = "Cpuset is a Python application that forms a wrapper around the standard Linux filesystem calls to make using the cpusets facilities in the Linux kernel easier"; + description = "Python application that forms a wrapper around the standard Linux filesystem calls to make using the cpusets facilities in the Linux kernel easier"; homepage = "https://github.com/wykurz/cpuset"; license = licenses.gpl2; maintainers = with maintainers; [ wykurz ]; diff --git a/pkgs/os-specific/linux/dstat/default.nix b/pkgs/os-specific/linux/dstat/default.nix index 2e235e27f36..6d2d8eb75b0 100644 --- a/pkgs/os-specific/linux/dstat/default.nix +++ b/pkgs/os-specific/linux/dstat/default.nix @@ -12,6 +12,8 @@ python2Packages.buildPythonApplication rec { propagatedBuildInputs = with python2Packages; [ python-wifi ]; + patches = [ ./fix_pluginpath.patch ]; + makeFlags = [ "prefix=$(out)" ]; meta = with stdenv.lib; { diff --git a/pkgs/os-specific/linux/dstat/fix_pluginpath.patch b/pkgs/os-specific/linux/dstat/fix_pluginpath.patch new file mode 100644 index 00000000000..06d7793da47 --- /dev/null +++ b/pkgs/os-specific/linux/dstat/fix_pluginpath.patch @@ -0,0 +1,15 @@ +diff --git a/dstat b/dstat +index 3ac7087..c5f089d 100755 +--- a/dstat ++++ b/dstat +@@ -66,9 +66,7 @@ if sys.version_info < (2, 3): + + pluginpath = [ + os.path.expanduser('~/.dstat/'), # home + /.dstat/ +- os.path.abspath(os.path.dirname(sys.argv[0])) + '/plugins/', # binary path + /plugins/ +- '/usr/share/dstat/', +- '/usr/local/share/dstat/', ++ os.path.abspath(os.path.dirname(sys.argv[0])) + '/../share/dstat/', # binary path + /../share/dstat/ + ] + + class Options: diff --git a/pkgs/os-specific/linux/kernel/linux-testing.nix b/pkgs/os-specific/linux/kernel/linux-testing.nix index b056568b166..29f1aad2e48 100644 --- a/pkgs/os-specific/linux/kernel/linux-testing.nix +++ b/pkgs/os-specific/linux/kernel/linux-testing.nix @@ -3,15 +3,15 @@ with stdenv.lib; buildLinux (args // rec { - version = "5.9-rc8"; - extraMeta.branch = "5.9"; + version = "5.10-rc1"; + extraMeta.branch = "5.10"; # modDirVersion needs to be x.y.z, will always add .0 modDirVersion = if (modDirVersionArg == null) then builtins.replaceStrings ["-"] [".0-"] version else modDirVersionArg; src = fetchurl { url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz"; - sha256 = "0yhjanmrg0cjmdn7yq8nx0h7q3aq9cimqhn9k4nis1a976p8wpgw"; + sha256 = "1s4ywf93xrlkjjq3c4142qhmsvx3kl0xwkbc09ss6gln8lwqnga8"; }; # Should the testing kernels ever be built on Hydra? diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 92dc334135a..7a91705b617 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -233,10 +233,10 @@ let rm -fR drivers # Keep all headers - find . -type f -name '*.h' -print0 | xargs -0 chmod u-w + find . -type f -name '*.h' -print0 | xargs -0 -r chmod u-w # Keep linker scripts (they are required for out-of-tree modules on aarch64) - find . -type f -name '*.lds' -print0 | xargs -0 chmod u-w + find . -type f -name '*.lds' -print0 | xargs -0 -r chmod u-w # Keep root and arch-specific Makefiles chmod u-w Makefile @@ -246,7 +246,7 @@ let chmod u-w -R scripts # Delete everything not kept - find . -type f -perm -u=w -print0 | xargs -0 rm + find . -type f -perm -u=w -print0 | xargs -0 -r rm # Delete empty directories find -empty -type d -delete |