EssentialSkills/changePackageDefinition

Sometimes you need to change the upstream definition of packages to suit your computing. There are many ways to achieve this.

modular declaration
This is bare minimal declaration of a modular deployment allowing logical declaration of fields

(use-modules   (gnu system file-systems)    (gnu bootloader)) ;; Define structure for further processing (define os    (operating-system (host-name #f) (bootloader (bootloader-configuration (bootloader #f) (targets '))) (file-systems ') (timezone #f))) ;; Change the checksum of sushi-42 (use-modules    (gnu packages gnome)     (guix packages)) (set! sushi (package (inherit sushi) (source (origin (inherit (package-source sushi)) (sha256 (base32 "0848gidl0ab8i5pa70mv8jzchmd9kqa8sn1lg977hyasyixdpn25")))))) os ;; Trigger the system build