diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 70a6a49..8a77c40 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -255,6 +255,18 @@ the Nix package manager.") (define-public guix guix-devel) +(define-public guix-for-environment + ;; We provide this pseudo-package just to allow people to run: + ;; guix environment guix-devel + ;; to reliably get the development environment for Guix (using 'guix' for + ;; this purpose does not work when 'guix' points to the built-from-tarball + ;; package rather than to the built-from-checkout package.) + (package + (inherit guix-devel) + (name "guix-devel") + (source #f) ;not meant to be built + (supported-systems '()))) + (define (source-file? file stat) "Return true if FILE is likely a source file, false if it is a typical generated file."