This website requires JavaScript.
Explore
Help
Sign In
ipetkov
/
crane
Watch
1
Star
1
Fork
0
You've already forked crane
mirror of
https://github.com/ipetkov/crane.git
synced
2024-11-25 21:42:20 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
0e38021181
crane
/
default.nix
4 lines
61 B
Nix
Raw
Normal View
History
Unescape
Escape
Add a meaningful default.nix That can be used from classic Nix (i.e. non-Flakes) like this: ``` nix { lib ? pkgs.lib , pkgs ? import <nixpkgs> { } }: let craneLib = import ../crane { inherit pkgs; }; src = lib.cleanSource ./.; cargoArtifacts = craneLib.buildDepsOnly { inherit src; }; in craneLib.buildPackage { inherit cargoArtifacts src; } ```
2022-06-01 18:55:52 +03:00
{
pkgs
?
import
<nixpkgs>
{
}
}:
Splice overrideToolchain (#652) --------- Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2024-06-29 21:29:52 +03:00
pkgs
.
callPackage
./lib
{
}
Reference in New Issue
Copy Permalink