We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab2e8a7 commit 6f70c14Copy full SHA for 6f70c14
internal/boxcli/featureflag/remove_nixpkgs.go
@@ -4,4 +4,4 @@ package featureflag
4
// It leverages the search index to directly map <package>@<version> to
5
// the /nix/store/<hash>-<package>-<version> that can be fetched from
6
// cache.nixpkgs.org.
7
-var RemoveNixpkgs = disable("REMOVE_NIXPKGS")
+var RemoveNixpkgs = enable("REMOVE_NIXPKGS")
internal/shellgen/tmpl/flake_remove_nixpkgs.nix.tmpl
@@ -17,6 +17,14 @@
17
}:
18
let
19
pkgs = nixpkgs.legacyPackages.{{ .System }};
20
+ {{- range .FlakeInputs }}
21
+ {{- if .IsNixpkgs }}
22
+ {{.PkgImportName}} = (import {{.Name}} {
23
+ system = "{{ $.System }}";
24
+ config.allowUnfree = true;
25
+ });
26
+ {{- end }}
27
28
in
29
{
30
devShells.{{ .System }}.default = pkgs.mkShell {
0 commit comments