-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installShellFiles: rework and add installBin function #332612
Commits on Aug 28, 2024
-
installShellFiles: move setup script to the same directory
So that it can be migrated to by-name later.
Configuration menu - View commit details
-
Copy full SHA for 8f4200d - Browse repository at this point
Copy the full SHA 8f4200dView commit details -
installShellFiles: migrate tests to tests subdirectory
Rationale: Since RFCs 140 and 146, the old category-based hierarchy is deprecated and obsolete, and a new approach took place: packages should be as self-contained as possible. This paradigm is reflected in many new strict checks that prohibit a package to refer to files outside its directory tree. Following this spirit, this commit essentially moves nixpkgs pkgs/test/default.nix to ./tests/default.nix. Further, to keep the top-level `tests` attribute, a green alias is kept in the place of older file.
Configuration menu - View commit details
-
Copy full SHA for f72e74d - Browse repository at this point
Copy the full SHA f72e74dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b67437 - Browse repository at this point
Copy the full SHA 8b67437View commit details -
Configuration menu - View commit details
-
Copy full SHA for e548b31 - Browse repository at this point
Copy the full SHA e548b31View commit details -
installShellFiles: dismember tests into their own files
It makes the maintenance and creation of tests more intuitive: just throw a Nix package under tests!
Configuration menu - View commit details
-
Copy full SHA for 98e9fbb - Browse repository at this point
Copy the full SHA 98e9fbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c9d479 - Browse repository at this point
Copy the full SHA 1c9d479View commit details -
Configuration menu - View commit details
-
Copy full SHA for 507416c - Browse repository at this point
Copy the full SHA 507416cView commit details -
installShellFiles: rewrite functions
- Use FUNCNAME to track the name of function being called - use long options for install commands - use nix*Log functions for logging, instead of custom echoes - remove silent error construction `|| return`
Configuration menu - View commit details
-
Copy full SHA for bb5aa08 - Browse repository at this point
Copy the full SHA bb5aa08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ff398 - Browse repository at this point
Copy the full SHA 56ff398View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fc77a5 - Browse repository at this point
Copy the full SHA 1fc77a5View commit details -
CODEOWNERS: update ownership for installShellFiles
Since Ericson2314 is the original codeowner of the files.
Configuration menu - View commit details
-
Copy full SHA for 32897dc - Browse repository at this point
Copy the full SHA 32897dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 618cffa - Browse repository at this point
Copy the full SHA 618cffaView commit details