calamares 3.2.61 -> 3.2.62 https://repology.org/project/calamares/versions
attrpath: calamares
Checking auto update branch...
No auto update branch exists
[version]
[version] updated version and sha256
[rustCrateVersion]
[rustCrateVersion] No cargoSha256 or cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash
[updateScript]
[updateScript] skipping because derivation has no updateScript
[quotedUrls]
[quotedUrls] nothing found to replace
Diff after rewrites:
diff --git a/pkgs/tools/misc/calamares/default.nix b/pkgs/tools/misc/calamares/default.nix
index 71656745ac2..00a06b857b0 100644
--- a/pkgs/tools/misc/calamares/default.nix
+++ b/pkgs/tools/misc/calamares/default.nix
@@ -7,12 +7,12 @@
mkDerivation rec {
pname = "calamares";
- version = "3.2.61";
+ version = "3.2.62";
# release including submodule
src = fetchurl {
url = "https://github.com/calamares/calamares/releases/download/v${version}/${pname}-${version}.tar.gz";
- sha256 = "sha256-dZG5tgc4vbp7neK42lRiqyEAbbBqAG8N0hrFuDJxHdI=";
+ sha256 = "sha256-oPvOwqQ4aTdT/BdCIDVhGa1624orGcMXUYqhywJdbdA=";
};
patches = lib.optionals nixos-extensions [
Successfully finished processing
cachix "/nix/store/iirvxbfv5pjfrmfsin16rqsmbg0ymvqf-calamares-3.2.62"
[check][nixpkgs-review]
Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
2 packages built:
- calamares
- calamares-nixos
Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from https://repology.org/project/calamares/versions.
meta.description for calamares is: Distribution-independent installer framework
meta.homepage for calamares is: https://calamares.io/
###### Updates performed
- Version update
###### To inspect upstream changes
- [Release on GitHub](https://github.com/calamares/calamares/releases/tag/v3.2.62)
- [Compare changes on GitHub](https://github.com/calamares/calamares/compare/v3.2.61...v3.2.62)
###### Impact
Checks done (click to expand)
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 3.2.62 with grep in /nix/store/iirvxbfv5pjfrmfsin16rqsmbg0ymvqf-calamares-3.2.62
- found 3.2.62 in filename of file in /nix/store/iirvxbfv5pjfrmfsin16rqsmbg0ymvqf-calamares-3.2.62
---
Rebuild report (if merged into master) (click to expand)
```
2 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
calamares
calamares-nixos
```
Instructions to test this update (click to expand)
---
Either **download from Cachix**:
```
nix-store -r /nix/store/iirvxbfv5pjfrmfsin16rqsmbg0ymvqf-calamares-3.2.62 \
--option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
--option trusted-public-keys '
nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A calamares https://github.com/r-ryantm/nixpkgs/archive/673b3b9c22b5bf699b3ed4a5c5630218ae06689c.tar.gz
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/iirvxbfv5pjfrmfsin16rqsmbg0ymvqf-calamares-3.2.62
ls -la /nix/store/iirvxbfv5pjfrmfsin16rqsmbg0ymvqf-calamares-3.2.62/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
2 packages built:
- calamares
- calamares-nixos
---
###### Maintainer pings
cc @manveru @vlinkz for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
https://api.github.com/repos/NixOS/nixpkgs/pulls/228838
calamares 3.2.61 -> 3.2.62 https://github.com/calamares/calamares/releases
attrpath: calamares
Checking auto update branch...
No auto update branch exists
Old version 3.2.61" not present in master derivation file with contents: { lib, fetchurl, boost, cmake, extra-cmake-modules, kparts, kpmcore, kirigami2
, kservice, libatasmart, libxcb, yaml-cpp, libpwquality, parted, polkit-qt, python
, qtbase, qtquickcontrols, qtsvg, qttools, qtwebengine, util-linux, tzdata
, ckbcomp, xkeyboard_config, mkDerivation
, nixos-extensions ? false
}:
mkDerivation rec {
pname = "calamares";
version = "3.2.62";
# release including submodule
src = fetchurl {
url = "https://github.com/calamares/calamares/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-oPvOwqQ4aTdT/BdCIDVhGa1624orGcMXUYqhywJdbdA=";
};
patches = lib.optionals nixos-extensions [
# Modifies the users module to only set passwords of user and root
# as the users will have already been created in the configuration.nix file
./userjob.patch
# Makes calamares search /run/current-system/sw/share/calamares/ for extra configuration files
# as by default it only searches /usr/share/calamares/ and /nix/store/-calamares-/share/calamares/
# but calamares-nixos-extensions is not in either of these locations
./nixos-extensions-paths.patch
# Uses pkexec within modules in order to run calamares without root permissions as a whole
# Also fixes storage check in the welcome module
./nonroot.patch
# Adds unfree qml to packagechooserq
./unfreeq.patch
# Modifies finished module to add some NixOS resources
# Modifies packagechooser module to change the UI
./uimod.patch
# Remove options for unsupported partition types
./partitions.patch
# Fix setting the kayboard layout on GNOME wayland
# By default the module uses the setxkbmap, which will not change the keyboard
./waylandkbd.patch
# Change default location where calamares searches for locales
./supportedlocale.patch
];
nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [
boost kparts.dev kpmcore.out kservice.dev kirigami2
libatasmart libxcb yaml-cpp libpwquality parted polkit-qt python
qtbase qtquickcontrols qtsvg qttools qtwebengine.dev util-linux
];
cmakeFlags = [
"-DPYTHON_LIBRARY=${python}/lib/lib${python.libPrefix}.so"
"-DPYTHON_INCLUDE_DIR=${python}/include/${python.libPrefix}"
"-DCMAKE_VERBOSE_MAKEFILE=True"
"-DCMAKE_BUILD_TYPE=Release"
"-DWITH_PYTHONQT:BOOL=ON"
];
POLKITQT-1_POLICY_FILES_INSTALL_DIR = "$(out)/share/polkit-1/actions";
postPatch = ''
# Run calamares without root. Other patches make it functional as a normal user
sed -e "s,pkexec calamares,calamares -D6," \
-i calamares.desktop
sed -e "s,X-AppStream-Ignore=true,&\nStartupWMClass=calamares," \
-i calamares.desktop
# Fix desktop reference with wayland
mv calamares.desktop io.calamares.calamares.desktop
sed -e "s,calamares.desktop,io.calamares.calamares.desktop," \
-i CMakeLists.txt
sed -e "s,/usr/bin/calamares,$out/bin/calamares," \
-i com.github.calamares.calamares.policy
sed -e 's,/usr/share/zoneinfo,${tzdata}/share/zoneinfo,' \
-i src/modules/locale/SetTimezoneJob.cpp \
-i src/libcalamares/locale/TimeZone.cpp
sed -e 's,/usr/share/X11/xkb/rules/base.lst,${xkeyboard_config}/share/X11/xkb/rules/base.lst,' \
-i src/modules/keyboard/keyboardwidget/keyboardglobal.cpp
sed -e 's,"ckbcomp","${ckbcomp}/bin/ckbcomp",' \
-i src/modules/keyboard/keyboardwidget/keyboardpreview.cpp
sed "s,\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR},''${out}/share/polkit-1/actions," \
-i CMakeLists.txt
'';
meta = with lib; {
description = "Distribution-independent installer framework";
homepage = "https://calamares.io/";
license = with licenses; [ gpl3Plus bsd2 cc0 ];
maintainers = with maintainers; [ manveru vlinkz ];
platforms = platforms.linux;
};
}