Compare commits
No commits in common. "64bcef4307398769a18a0904a8e278aa4d48d526" and "c15feac95880a4cc2eaddc468f535beb6e1144e3" have entirely different histories.
64bcef4307
...
c15feac958
File diff suppressed because it is too large
Load Diff
11
default.nix
11
default.nix
|
@ -9,16 +9,7 @@
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "greg-ng";
|
pname = "greg-ng";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
src = builtins.filterSource (path: type: let
|
src = lib.cleanSource ./.;
|
||||||
baseName = baseNameOf (toString path);
|
|
||||||
in !(lib.any (b: b) [
|
|
||||||
(!(lib.cleanSourceFilter path type))
|
|
||||||
(baseName == "target" && type == "directory")
|
|
||||||
(baseName == "nix" && type == "directory")
|
|
||||||
(baseName == "flake.nix" && type == "regular")
|
|
||||||
(baseName == "flake.lock" && type == "regular")
|
|
||||||
])) ./.;
|
|
||||||
|
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
|
12
flake.lock
12
flake.lock
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729256560,
|
"lastModified": 1722421184,
|
||||||
"narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=",
|
"narHash": "sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0",
|
"rev": "9f918d616c5321ad374ae6cb5ea89c9e04bf3e58",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -29,11 +29,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729391507,
|
"lastModified": 1722651535,
|
||||||
"narHash": "sha256-as0I9xieJUHf7kiK2a9znDsVZQTFWhM1pLivII43Gi0=",
|
"narHash": "sha256-2uRmNwxe3CO5h7PfvqXrRe8OplXaEdwhqOUtaF13rpU=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "784981a9feeba406de38c1c9a3decf966d853cca",
|
"rev": "56d83ca6f3c557647476f3720426a7615c22b860",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -27,9 +27,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
rust-bin = rust-overlay.lib.mkRustBin { } pkgs.buildPackages;
|
rust-bin = rust-overlay.lib.mkRustBin { } pkgs.buildPackages;
|
||||||
toolchain = rust-bin.stable.latest.default.override {
|
toolchain = rust-bin.stable.latest.default;
|
||||||
extensions = [ "rust-src" "rust-analyzer" "rust-std" ];
|
|
||||||
};
|
|
||||||
in f system pkgs toolchain);
|
in f system pkgs toolchain);
|
||||||
in {
|
in {
|
||||||
apps = forAllSystems (system: pkgs: _: {
|
apps = forAllSystems (system: pkgs: _: {
|
||||||
|
|
Loading…
Reference in New Issue